diff options
Diffstat (limited to 'applets')
-rwxr-xr-x | applets/busybox.mkll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/busybox.mkll b/applets/busybox.mkll index f79462b..facb6e8 100755 --- a/applets/busybox.mkll +++ b/applets/busybox.mkll @@ -7,7 +7,7 @@ MF="busybox.c" LIST="$(sed -n '/^#define/{s/^#define //p;}' $DF)" for def in ${LIST}; do - i=`sed -n 's/^#ifdef '$def'.*\/\/\(.*$\)/\/\1\//gp' $MF` + i=`sed -n 's/^#ifdef \<'$def'\>.*\/\/\(.*$\)/\/\1\//gp' $MF` j=`sed -n '/^#ifdef '$def'.*/,/^#endif/{ s/.*\"\(.*\)\".*/\1/gp; }' $MF` for k in $j; do echo $i$k |