summaryrefslogtreecommitdiff
path: root/busybox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.sh')
-rwxr-xr-xbusybox.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/busybox.sh b/busybox.sh
index 6e448dc..cab248f 100755
--- a/busybox.sh
+++ b/busybox.sh
@@ -1,4 +1,4 @@
#!/bin/sh
-sed -n '/^#define/{s/.*BB_//; s/$/.o/p; }' busybox.def.h | \
-tr [:upper:] [:lower:]
+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'