# HG changeset patch # User Rob Landley # Date 1280693940 18000 # Node ID 878dbfe763419f46dfc0842b740b9166029d72b3 # Parent ac490c50f9f5e4c2dfb17db563b376c694166f66 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. diff -r ac490c50f9f5 -r 878dbfe76341 more/record-commands.sh --- 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. diff -r ac490c50f9f5 -r 878dbfe76341 sources/include.sh --- 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"