From: Bernhard Reutner-Fischer Date: Thu, 23 Oct 2008 13:49:21 +0000 (-0000) Subject: - give glob a chance X-Git-Tag: 1_13_0~82 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2dfd295726a0e71c5901214b78cc13a0775a4102;p=oweals%2Fbusybox.git - give glob a chance CROSS_COMPILE=~/foo-bar-baz would fail otherwise See http://www.uclibc.org/lists/buildroot/2008-October/011191.html --- diff --git a/scripts/trylink b/scripts/trylink index 7a4a56dfd..7ea1d5cad 100755 --- a/scripts/trylink +++ b/scripts/trylink @@ -41,9 +41,8 @@ try() { printf "%s\n" "$*" >>$EXE.out printf "%s\n" "==========" >>$EXE.out $debug && echo "Trying: $*" - "$@" >>$EXE.out 2>&1 - exitcode=$? - return $exitcode + $@ >>$EXE.out 2>&1 + return $? } check_cc() {