From: Erik Andersen Date: Thu, 20 Jan 2000 19:32:32 +0000 (-0000) Subject: Fix a namespace aliasing problem wereby du and dutmp, or X-Git-Tag: 0_42~37 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8ad12e32c89c0b9e8c6da35e23398d4a97f7f601;p=oweals%2Fbusybox.git 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 --- diff --git a/applets/busybox.mkll b/applets/busybox.mkll index facb6e8ac..151f5c325 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 diff --git a/busybox.mkll b/busybox.mkll index facb6e8ac..151f5c325 100755 --- a/busybox.mkll +++ b/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