Skip to content

Commit f66d7d5

Browse files
committed
Slightly jumped the gun on the previous commit. There were other
linuxisms in the script
1 parent 30aebb7 commit f66d7d5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

util/install-toolchain.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ if [ $TOOLCHAIN_MISSING -eq 1 ]; then
2727
ln -s $TOOLCHAIN ${TOOLCHAINS}/gcc-arm-embedded
2828
fi;
2929

30-
EXISTING_TOOLCHAIN=`readlink -f "${TOOLCHAINS}/gcc-arm-embedded"`
30+
EXISTING_TOOLCHAIN=`readlink "${TOOLCHAINS}/gcc-arm-embedded"`
3131
echo "Current toolchain is $EXISTING_TOOLCHAIN"
3232

33+
if [ $TOOLCHAIN_ARCH != 'mac' ]; then
3334
if ! ldd ${GCC} >/dev/null; then
3435
echo "${GCC} does not appear to be executable on this machine"
3536
exit 1
3637
fi;
38+
fi;
3739

3840
TOOLCHAIN_VER=`${GCC} --version | head -n 1`
3941
echo "Installed toolchain version is $TOOLCHAIN_VER"

0 commit comments

Comments
 (0)