diff options
| author | Mark Ferrell <major@homeonderanged.org> | 2014-06-27 19:06:32 -0700 |
|---|---|---|
| committer | Mark Ferrell <major@homeonderanged.org> | 2014-06-27 19:06:32 -0700 |
| commit | 3fe987b0ddfc8f9f7dd47b981b41bc97630d53ad (patch) | |
| tree | 7ba3ccb4fa5152e0b05099c1d232f0aafc773b0a /libexec | |
| parent | b5df3b810eaa5cfa67c934a2d26322f3065725d8 (diff) | |
log the environ before calling pkg_*() routines.
Diffstat (limited to 'libexec')
| -rwxr-xr-x | libexec/build-make-compile | 3 | ||||
| -rwxr-xr-x | libexec/build-make-prep | 3 | ||||
| -rwxr-xr-x | libexec/build-make-test | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/libexec/build-make-compile b/libexec/build-make-compile index 2b344e7..4f56253 100755 --- a/libexec/build-make-compile +++ b/libexec/build-make-compile @@ -61,6 +61,9 @@ build_make_compile() # Ironically this is the heart of what the build-engine does, and yet it has # been reduced to the simplest component of the entire system. cd "${S}" + echo '## environ: pkg_compile()' >> "${PKG_LOGFILE}" + env >> "${PKG_LOGFILE}" + echo '## environ: end ' >> "${PKG_LOGFILE}" pkg_compile >> "${PKG_LOGFILE}" 2>&1 ## Save Space! diff --git a/libexec/build-make-prep b/libexec/build-make-prep index 3b8648d..5150b0d 100755 --- a/libexec/build-make-prep +++ b/libexec/build-make-prep @@ -75,6 +75,9 @@ build_make_prep() fi cd "${W}" + echo '## environ: pkg_prep()' >> "${PKG_LOGFILE}" + env >> "${PKG_LOGFILE}" + echo '## environ: end ' >> "${PKG_LOGFILE}" pkg_prep >> "${PKG_LOGFILE}" 2>&1 # FIXME wrap up the patch command with something more functional.. diff --git a/libexec/build-make-test b/libexec/build-make-test index bd9f5d6..5f49363 100755 --- a/libexec/build-make-test +++ b/libexec/build-make-test @@ -23,6 +23,10 @@ build_make_test() PKG_LOGFILE="${L}/test" cd "${W}" + + echo '## environ: pkg_test()' >> "${PKG_LOGFILE}" + env >> "${PKG_LOGFILE}" + echo '## environ: end ' >> "${PKG_LOGFILE}" pkg_test >> "${PKG_LOGFILE}" 2>&1 date >> "${BUILDER_TMPDIR}/${CATEGORY}/${NAME}/.test" )} |
