summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-02-16 19:57:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-02-16 19:57:39 +0000
commit45367dab207323ca09dff6f628df3b89d35f888d (patch)
tree195ba2ab60ba7a10eb15e74b73b1b4f3db8039c6
parent521099ad9896f41dfab51484c01942264c26b6bb (diff)
build: fix bashism in hostenv.sh
-rwxr-xr-xbuild/hostenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/hostenv.sh b/build/hostenv.sh
index ad5a71e41..0f2fc27d1 100755
--- a/build/hostenv.sh
+++ b/build/hostenv.sh
@@ -1,6 +1,6 @@
#!/bin/sh
export LD_LIBRARY_PATH="$1/usr/lib:$LD_LIBRARY_PATH"
-[ `uname -s` == "Darwin" ] && export DYLD_LIBRARY_PATH="$1/usr/lib:$DYLD_LIBRARY_PATH"
+[ `uname -s` = "Darwin" ] && export DYLD_LIBRARY_PATH="$1/usr/lib:$DYLD_LIBRARY_PATH"
export PATH="$1/bin:$1/usr/bin:$PATH"
export LUA_PATH="$1/$2/?.lua;$1/$2/?/init.lua;;"
export LUA_CPATH="$1/$3/?.so;;"