Mercurial > hg > aboriginal
changeset 1187:878dbfe76341
Move $BUILD/logs creation from record-commands.sh to include.sh so it gets reliably recreated when a user blanks the logs and re-runs.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 01 Aug 2010 15:19:00 -0500 |
parents | ac490c50f9f5 |
children | 13c22a46b1c9 |
files | more/record-commands.sh sources/include.sh |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/more/record-commands.sh Sun Aug 01 15:16:58 2010 -0500 +++ b/more/record-commands.sh Sun Aug 01 15:19:00 2010 -0500 @@ -13,7 +13,6 @@ [ -f "$WRAPDIR/wrappy" ] && PATH="$OLDPATH" [ -f "$HOSTTOOLS/busybox" ] && PATH="$HOSTTOOLS" blank_tempdir "$WRAPDIR" -blank_tempdir "$BUILD/logs" # Populate a directory of symlinks with every command in the $PATH.
--- a/sources/include.sh Sun Aug 01 15:16:58 2010 -0500 +++ b/sources/include.sh Sun Aug 01 15:19:00 2010 -0500 @@ -63,6 +63,7 @@ # If record-commands.sh set up a wrapper directory, adjust $PATH again. if [ -f "$WRAPDIR/wrappy" ] then + mkdir -p "$BUILD/logs" export WRAPPY_LOGPATH="$BUILD/logs/cmdlines.$ARCH_NAME.early" OLDPATH="$PATH:$OLDPATH" PATH="$WRAPDIR"