From 6d553ef200b51e029531d7b2173843d461c55828 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 1 May 2001 14:54:35 +0000 Subject: Argh. Now we break non-pristine builds. Check a bit more carefully. -Erik --- applets/busybox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applets/busybox.sh') diff --git a/applets/busybox.sh b/applets/busybox.sh index 6b25dff3b..26d1376a0 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' ' ' -- cgit v1.2.3