summaryrefslogtreecommitdiff
path: root/Docs/env.sh
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-11-13 18:29:06 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-11-13 18:29:17 +0000
commit71d3e7b4ca25f08eb97e93edf4740282d8475d25 (patch)
tree6260f7561c678e7fc22b0038735aeadb7b3db64f /Docs/env.sh
parenta2388a91cf9ceb7efb203a7b4d6d250395cdb744 (diff)
downloadnetsurf-71d3e7b4ca25f08eb97e93edf4740282d8475d25.tar.gz
netsurf-71d3e7b4ca25f08eb97e93edf4740282d8475d25.tar.bz2
Docs: Fix for zsh in env.sh
Diffstat (limited to 'Docs/env.sh')
-rw-r--r--Docs/env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/env.sh b/Docs/env.sh
index a1253f034..9cfc95650 100644
--- a/Docs/env.sh
+++ b/Docs/env.sh
@@ -28,13 +28,13 @@ if [ "x${HOST}" = "x" ]; then
fi
else
HOST_CC_LIST="${HOST}-cc ${HOST}-gcc /opt/netsurf/${HOST}/cross/bin/${HOST}-cc /opt/netsurf/${HOST}/cross/bin/${HOST}-gcc"
- for HOST_CC_V in ${HOST_CC_LIST};do
+ for HOST_CC_V in $(echo ${HOST_CC_LIST});do
HOST_CC=$(/bin/which ${HOST_CC_V})
if [ "x${HOST_CC}" != "x" ];then
break
fi
done
- if [ "x${HOST_CC}" == "x" ];then
+ if [ "x${HOST_CC}" = "x" ];then
echo "Unable to execute host compiler for HOST=${HOST}. is it set correctly?"
return 1
fi