Mercurial > hg > aboriginal
comparison more/record-commands.sh @ 1559:f0315ac24c40
Call record-commands.sh from buildall.sh.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 13 Nov 2012 13:56:04 -0600 |
parents | e2f722cc97a6 |
children | e4ff2cf4ac62 |
comparison
equal
deleted
inserted
replaced
1558:3a213739ee1c | 1559:f0315ac24c40 |
---|---|
9 # at the start of shell scripts.) | 9 # at the start of shell scripts.) |
10 | 10 |
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_path)" | 14 [ -f "$HOSTTOOLS/toybox" ] && PATH="$(hosttools_path)" |
15 blank_tempdir "$WRAPDIR" | 15 blank_tempdir "$WRAPDIR" |
16 | 16 |
17 # Populate a directory of symlinks with every command in the $PATH. | 17 # Populate a directory of symlinks with every command in the $PATH. |
18 | 18 |
19 path_search "$PATH" "*" 'ln -s wrappy "$WRAPDIR/$FILE"' | dotprogress | 19 path_search "$PATH" "*" 'ln -s wrappy "$WRAPDIR/$FILE"' | dotprogress |