aboutsummaryrefslogtreecommitdiff
path: root/applets/busybox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'applets/busybox.sh')
-rwxr-xr-xapplets/busybox.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/busybox.sh b/applets/busybox.sh
index 9ab0f4bdb..6ac4e8043 100755
--- a/applets/busybox.sh
+++ b/applets/busybox.sh
@@ -5,11 +5,11 @@ export LC_CTYPE=POSIX
5 5
6RAW=` \ 6RAW=` \
7 $CC -E -dM ${1:-Config.h} | \ 7 $CC -E -dM ${1:-Config.h} | \
8 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ 8 sed -n -e '/^.*CONFIG_FEATURE.*$/d;s/^#define.*\<CONFIG_\(.*\)\>/\1.c/gp;' \
9 | tr A-Z a-z | sort 9 | tr A-Z a-z | sort
10` 10`
11test "${RAW}" != "" || exit 11test "${RAW}" != "" || exit
12if [ -d "$BB_SRC_DIR" ]; then cd $BB_SRC_DIR; fi 12if [ -d "$CONFIG_SRC_DIR" ]; then cd $CONFIG_SRC_DIR; fi
13# By running $RAW through "ls", we avoid listing 13# By running $RAW through "ls", we avoid listing
14# source files that don't exist. 14# source files that don't exist.
15ls $RAW 2>/dev/null | tr '\n' ' ' 15ls $RAW 2>/dev/null | tr '\n' ' '