summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-03-17 20:53:02 +0000
committerDave Chapman <dave@dchapman.com>2009-03-17 20:53:02 +0000
commit57ce975cfbe36b2ad1ab7236d8fd5c51835d7220 (patch)
treeb5bd2c6f9e553f14a2c20c7d012ac7c950569746
parentac7c88b9356754c42fa667b4c59c140ee8f2c8f8 (diff)
downloadrockbox-57ce975cfbe36b2ad1ab7236d8fd5c51835d7220.tar.gz
rockbox-57ce975cfbe36b2ad1ab7236d8fd5c51835d7220.zip
When rockboxdev.sh temporarily adds $bindir to the PATH (so the gcc build can find the matching binutils), put it at the start, just in case the user has an old (and incompatible) target-binutils around.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20346 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/rockboxdev.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 9b7878ffc1..079c8c5c0e 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -295,7 +295,7 @@ $make
echo "ROCKBOXDEV: binutils/make install to $prefix/$target"
$make install
cd .. # get out of build-binu
-PATH="${PATH}:$bindir"
+PATH="$bindir:${PATH}"
SHELL=/bin/sh # seems to be needed by the gcc build in some cases
echo "ROCKBOXDEV: mkdir build-gcc"