diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-23 13:49:21 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-23 13:49:21 +0000 |
commit | 2dfd295726a0e71c5901214b78cc13a0775a4102 (patch) | |
tree | d55ebaef5a7ce7a2a7fd01194085b8dc5563ce4b | |
parent | 01ea9716105307f61761eb6ca6e8add3c074fe8d (diff) | |
download | busybox-w32-2dfd295726a0e71c5901214b78cc13a0775a4102.tar.gz busybox-w32-2dfd295726a0e71c5901214b78cc13a0775a4102.tar.bz2 busybox-w32-2dfd295726a0e71c5901214b78cc13a0775a4102.zip |
- give glob a chance
CROSS_COMPILE=~/foo-bar-baz would fail otherwise
See http://www.uclibc.org/lists/buildroot/2008-October/011191.html
-rwxr-xr-x | scripts/trylink | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/trylink b/scripts/trylink index 7a4a56dfd..7ea1d5cad 100755 --- a/scripts/trylink +++ b/scripts/trylink | |||
@@ -41,9 +41,8 @@ try() { | |||
41 | printf "%s\n" "$*" >>$EXE.out | 41 | printf "%s\n" "$*" >>$EXE.out |
42 | printf "%s\n" "==========" >>$EXE.out | 42 | printf "%s\n" "==========" >>$EXE.out |
43 | $debug && echo "Trying: $*" | 43 | $debug && echo "Trying: $*" |
44 | "$@" >>$EXE.out 2>&1 | 44 | $@ >>$EXE.out 2>&1 |
45 | exitcode=$? | 45 | return $? |
46 | return $exitcode | ||
47 | } | 46 | } |
48 | 47 | ||
49 | check_cc() { | 48 | check_cc() { |