aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2001-05-01 01:40:34 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2001-05-01 01:40:34 +0000
commit3f99b567b8500be6095f4ef36d6733873ebfe0c8 (patch)
tree2b9edb6ec300c1f1ac9e1bddb537d7e64acb67ef /applets
parentaac75e5a7818ce944dc21cabb69920e7ba78c902 (diff)
downloadbusybox-3f99b567b8500be6095f4ef36d6733873ebfe0c8.tar.gz
busybox-3f99b567b8500be6095f4ef36d6733873ebfe0c8.tar.bz2
A patch from Larry to fix pristine source builds (again).
I just can't seem to _not_ break it. Sigh.
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/busybox.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/busybox.sh b/applets/busybox.sh
index 2f9a905f5..6b25dff3b 100755
--- a/applets/busybox.sh
+++ b/applets/busybox.sh
@@ -9,7 +9,7 @@ RAW=` \
| tr A-Z a-z | sort
`
test "${RAW}" != "" || exit
-cd ${2:-.}
+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' ' '