summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2001-05-01 16:24:32 +0000
committerEric Andersen2001-05-01 16:24:32 +0000
commitb9f5b823399c8d5d88f2976726e3fbe9cba157a3 (patch)
tree1b01a7acc177ba3a732079855e40d521d182875b
parent6d553ef200b51e029531d7b2173843d461c55828 (diff)
downloadbusybox-b9f5b823399c8d5d88f2976726e3fbe9cba157a3.zip
busybox-b9f5b823399c8d5d88f2976726e3fbe9cba157a3.tar.gz
Another refinement, this time from Larry.
-rwxr-xr-xapplets/busybox.sh2
-rwxr-xr-xbusybox.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/applets/busybox.sh b/applets/busybox.sh
index 26d1376..7c3deb2 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' ' '
diff --git a/busybox.sh b/busybox.sh
index 26d1376..7c3deb2 100755
--- a/busybox.sh
+++ b/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' ' '