From 3f99b567b8500be6095f4ef36d6733873ebfe0c8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 1 May 2001 01:40:34 +0000 Subject: A patch from Larry to fix pristine source builds (again). I just can't seem to _not_ break it. Sigh. --- busybox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'busybox.sh') diff --git a/busybox.sh b/busybox.sh index 2f9a905f5..6b25dff3b 100755 --- a/busybox.sh +++ b/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' ' ' -- cgit v1.2.3