From affce7d4178a176bb2b6ac213330b6ae33c22763 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Mon, 23 Sep 2013 13:03:03 +0200 Subject: [PATCH] * grub-core/genmod.sh.in: Remove ./ from TARGET_OBJ2ELF. Add quotes. Based on patches from AROS. --- ChangeLog | 6 ++++++ grub-core/genmod.sh.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3cdf0d84a..229739dcb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-09-23 Vladimir Serbinenko + + * grub-core/genmod.sh.in: Remove ./ from TARGET_OBJ2ELF. Add quotes. + + Based on patches from AROS. + 2013-09-23 Vladimir Serbinenko * grub-core/Makefile.am: Override STRIP and RANLIB. diff --git a/grub-core/genmod.sh.in b/grub-core/genmod.sh.in index 95f4607c8..ff5cb19ae 100644 --- a/grub-core/genmod.sh.in +++ b/grub-core/genmod.sh.in @@ -54,7 +54,7 @@ if test x@TARGET_APPLE_CC@ != x1; then rm -f $t1 $t2 if ! test -z "${TARGET_OBJ2ELF}"; then - ./${TARGET_OBJ2ELF} $tmpfile || exit 1 + "${TARGET_OBJ2ELF}" $tmpfile || exit 1 fi if test x@platform@ != xemu; then @TARGET_STRIP@ --strip-unneeded \