diff options
author | Eric Andersen | 2001-05-01 14:54:35 +0000 |
---|---|---|
committer | Eric Andersen | 2001-05-01 14:54:35 +0000 |
commit | 6d553ef200b51e029531d7b2173843d461c55828 (patch) | |
tree | 66d08b5f5d7d5a5380233e55b8d13c96266a026e | |
parent | abde06593506d7b090cf17e6512d2d30b2710066 (diff) | |
download | busybox-6d553ef200b51e029531d7b2173843d461c55828.zip busybox-6d553ef200b51e029531d7b2173843d461c55828.tar.gz |
Argh. Now we break non-pristine builds. Check a bit more carefully.
-Erik
-rwxr-xr-x | applets/busybox.sh | 2 | ||||
-rwxr-xr-x | busybox.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/applets/busybox.sh b/applets/busybox.sh index 6b25dff..26d1376 100755 --- a/applets/busybox.sh +++ b/applets/busybox.sh @@ -9,7 +9,7 @@ RAW=` \ | tr A-Z a-z | sort ` test "${RAW}" != "" || exit -if [ -d $BB_SRC_DIR ]; then cd $BB_SRC_DIR; fi +if [ -d ${$BB_SRC_DIR:-.} ]; then cd $BB_SRC_DIR; fi # By running $RAW through "ls", we avoid listing # source files that don't exist. ls $RAW 2>/dev/null | tr '\n' ' ' @@ -9,7 +9,7 @@ RAW=` \ | tr A-Z a-z | sort ` test "${RAW}" != "" || exit -if [ -d $BB_SRC_DIR ]; then cd $BB_SRC_DIR; fi +if [ -d ${$BB_SRC_DIR:-.} ]; then cd $BB_SRC_DIR; fi # By running $RAW through "ls", we avoid listing # source files that don't exist. ls $RAW 2>/dev/null | tr '\n' ' ' |