summaryrefslogtreecommitdiff
path: root/busybox.sh
diff options
context:
space:
mode:
authorEric Andersen1999-11-19 05:31:45 +0000
committerEric Andersen1999-11-19 05:31:45 +0000
commit6a76e652aab7d614c2b47b50318e0690c06779c4 (patch)
treeeb5564c774b9ef03dc095e7c06e8adb2a8ede1c8 /busybox.sh
parent08b1034f4f0b910660a8b1a537f86462fa41ebad (diff)
downloadbusybox-6a76e652aab7d614c2b47b50318e0690c06779c4.zip
busybox-6a76e652aab7d614c2b47b50318e0690c06779c4.tar.gz
Stuf
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'