From 8ad12e32c89c0b9e8c6da35e23398d4a97f7f601 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Thu, 20 Jan 2000 19:32:32 +0000 Subject: [PATCH] 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 --- applets/busybox.mkll | 2 +- busybox.mkll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1