projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
521099a
)
build: fix bashism in hostenv.sh
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 16 Feb 2011 19:57:39 +0000
(19:57 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 16 Feb 2011 19:57:39 +0000
(19:57 +0000)
build/hostenv.sh
patch
|
blob
|
history
diff --git
a/build/hostenv.sh
b/build/hostenv.sh
index ad5a71e41b2852fa4ad11bd551503b985b13ddb1..0f2fc27d1ca530dfa96c704d74fdb680a736448a 100755
(executable)
--- 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;;"