summaryrefslogtreecommitdiff
path: root/applets/busybox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'applets/busybox.sh')
-rwxr-xr-xapplets/busybox.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/applets/busybox.sh b/applets/busybox.sh
index cab248f..304ac87 100755
--- a/applets/busybox.sh
+++ b/applets/busybox.sh
@@ -1,4 +1,3 @@
#!/bin/sh
-ls -1 `sed -n '/^#define/{s/.*BB_// ; s/$/.c/p; }' busybox.def.h | \
-tr [:upper:] [:lower:]` 2> /dev/null | sed -e 's/\.c$/\.o/g'
-
+sed -n -e 's/^#define.*BB_FEATURE.*$//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/;' \
+ -e '/^#define/{s/.*bb_//;s/$/.o/p;}' busybox.def.h