fix "make install"
authorBernd Jendrissek <bernd.jendrissek@gmail.com>
Sun, 20 Feb 2011 04:50:04 +0000 (05:50 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 20 Feb 2011 04:50:04 +0000 (05:50 +0100)
Signed-off-by: Bernd Jendrissek <bernd.jendrissek@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
applets/busybox.mkll

index 6d61f7e82d56fc9f2b4b2887f036927a2950537a..68dbf216262a6cd6a6f64d24a4cbe1c94b62108b 100755 (executable)
@@ -14,7 +14,7 @@ CONFIG_H=${1:-include/autoconf.h}
 APPLETS_H=${2:-include/applets.h}
 $HOSTCC -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |
   awk '/^[ \t]*LINK/{
-       dir=substr($2,8)
+       dir=substr($2,7)
        gsub("_","/",dir)
        if(dir=="/ROOT") dir=""
        file=$3