From b4f7d4229ab53d34b09e41995306bef08e43fef8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 2 Jan 2006 00:30:00 +0000 Subject: for /bin/sh, use `` instead of $() as pointed out by Jan-Benedict Glaw on the mailing list --- extra/scripts/create_makefiles.sh | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'extra/scripts') diff --git a/extra/scripts/create_makefiles.sh b/extra/scripts/create_makefiles.sh index 89ea4a9b6..1d94b0d13 100755 --- a/extra/scripts/create_makefiles.sh +++ b/extra/scripts/create_makefiles.sh @@ -27,45 +27,45 @@ ${USE_CMD} extra/scripts/Makefile.libs.lvl0 Makefile #done for x in */Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.libs.lvl1 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.libs.lvl1 `dirname ${x}`/Makefile done for x in utils/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.utils.lvl1 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.utils.lvl1 `dirname ${x}`/Makefile done for x in */*/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.objs.lvl2 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.objs.lvl2 `dirname ${x}`/Makefile done # overwrites the earlier ones, we do not add arch specific to libm/arch for x in ldso/*/Makefile.in libpthread/*/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.libs.lvl2 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.libs.lvl2 `dirname ${x}`/Makefile done for x in */*/*/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.objs.lvl3 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.objs.lvl3 `dirname ${x}`/Makefile done for x in libc/*/*/Makefile.arch ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.arch.lvl3 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.arch.lvl3 `dirname ${x}`/Makefile done for x in */*/*/*/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.objs.lvl4 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.objs.lvl4 `dirname ${x}`/Makefile done # we do not add these to libpthread/PTNAME/sysdeps/arch for x in libc/*/*/*/Makefile.arch ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.arch.lvl4 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.arch.lvl4 `dirname ${x}`/Makefile done exit 0 -- cgit v1.2.3