Mercurial > hg > aboriginal
comparison more/record-commands.sh @ 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 | 300e6d919d86 |
children | e2f722cc97a6 |
comparison
equal
deleted
inserted
replaced
1186:ac490c50f9f5 | 1187:878dbfe76341 |
---|---|
11 echo "=== Setting up command recording wrapper" | 11 echo "=== Setting up command recording wrapper" |
12 | 12 |
13 [ -f "$WRAPDIR/wrappy" ] && PATH="$OLDPATH" | 13 [ -f "$WRAPDIR/wrappy" ] && PATH="$OLDPATH" |
14 [ -f "$HOSTTOOLS/busybox" ] && PATH="$HOSTTOOLS" | 14 [ -f "$HOSTTOOLS/busybox" ] && PATH="$HOSTTOOLS" |
15 blank_tempdir "$WRAPDIR" | 15 blank_tempdir "$WRAPDIR" |
16 blank_tempdir "$BUILD/logs" | |
17 | 16 |
18 # Populate a directory of symlinks with every command in the $PATH. | 17 # Populate a directory of symlinks with every command in the $PATH. |
19 | 18 |
20 path_search "$PATH" "*" 'ln -s wrappy "$WRAPDIR/$FILE"' | dotprogress | 19 path_search "$PATH" "*" 'ln -s wrappy "$WRAPDIR/$FILE"' | dotprogress |
21 | 20 |