提交 64323ab5 编写于 作者: 朔-望's avatar 朔-望

fix ubuntu build

上级 579ac441
#!/bin/bash #!/bin/bash
. /etc/profile
. ~/.bashrc
#. ~/.zshrc
build_for_linux() { build_for_linux() {
if [ ! `which brew` ]; then if [ ! `which brew` ]; then
echo "building failed! homebrew not found, please install homebrew." echo "building failed! homebrew not found, please install homebrew."
...@@ -65,8 +69,8 @@ build_for_mac() { ...@@ -65,8 +69,8 @@ build_for_mac() {
} }
build_for_android() { build_for_android() {
if [ -z "${NDK_ROOT}" ]; then if [ -z "${ANDROID_NDK}" ]; then
echo "NDK_ROOT not found!" echo "ANDROID_NDK not found!"
exit -1 exit -1
fi fi
...@@ -148,4 +152,4 @@ else ...@@ -148,4 +152,4 @@ else
else else
build_error build_error
fi fi
fi fi
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册