diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-16 19:57:39 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-16 19:57:39 +0000 |
commit | 45367dab207323ca09dff6f628df3b89d35f888d (patch) | |
tree | 195ba2ab60ba7a10eb15e74b73b1b4f3db8039c6 /build | |
parent | 521099ad9896f41dfab51484c01942264c26b6bb (diff) |
build: fix bashism in hostenv.sh
Diffstat (limited to 'build')
-rwxr-xr-x | build/hostenv.sh | 2 |
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;;" |