diff options
Diffstat (limited to 'applets/busybox.sh')
-rwxr-xr-x | applets/busybox.sh | 4 |
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 | ||
6 | RAW=` \ | 6 | RAW=` \ |
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 | ` |
11 | test "${RAW}" != "" || exit | 11 | test "${RAW}" != "" || exit |
12 | if [ -d "$BB_SRC_DIR" ]; then cd $BB_SRC_DIR; fi | 12 | if [ -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. |
15 | ls $RAW 2>/dev/null | tr '\n' ' ' | 15 | ls $RAW 2>/dev/null | tr '\n' ' ' |