summaryrefslogtreecommitdiff
path: root/applets/busybox.mkll
diff options
context:
space:
mode:
authorErik Andersen2000-01-20 19:32:32 +0000
committerErik Andersen2000-01-20 19:32:32 +0000
commit8ad12e32c89c0b9e8c6da35e23398d4a97f7f601 (patch)
tree6c7776a7867dc45f7ebe463a0f292fab175883e0 /applets/busybox.mkll
parent4581b4cdd99590bb243a1b4a558aeceadd3b155b (diff)
downloadbusybox-8ad12e32c89c0b9e8c6da35e23398d4a97f7f601.zip
busybox-8ad12e32c89c0b9e8c6da35e23398d4a97f7f601.tar.gz
Fix a namespace aliasing problem wereby du and dutmp, or
rm and rmmod symlinks would be created when only du or rm was included. -Erik
Diffstat (limited to 'applets/busybox.mkll')
-rwxr-xr-xapplets/busybox.mkll2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/busybox.mkll b/applets/busybox.mkll
index facb6e8..151f5c3 100755
--- a/applets/busybox.mkll
+++ b/applets/busybox.mkll
@@ -8,7 +8,7 @@ LIST="$(sed -n '/^#define/{s/^#define //p;}' $DF)"
for def in ${LIST}; do
i=`sed -n 's/^#ifdef \<'$def'\>.*\/\/\(.*$\)/\/\1\//gp' $MF`
- j=`sed -n '/^#ifdef '$def'.*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF`
+ j=`sed -n '/^#ifdef '$def'[ ].*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF`
for k in $j; do
echo $i$k
done