fix "make install"

Signed-off-by: Bernd Jendrissek <bernd.jendrissek@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Bernd Jendrissek 2011-02-20 05:50:04 +01:00 committed by Denys Vlasenko
parent f303bdd918
commit 55988aed47

View File

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