summaryrefslogtreecommitdiff
path: root/busybox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.sh')
-rwxr-xr-xbusybox.sh2
1 files changed, 1 insertions, 1 deletions
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' ' '