From c3e44f0e26eebee5de80b172fa2611fe8f296553 Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 25 Dec 2012 11:11:44 +0800 Subject: [PATCH] issue #1603:modify auto-building script --- .../jenkins_scripts/mac/android/build-android-2.2-3.2-debug.sh | 2 +- tools/jenkins_scripts/windows/android/rootconfig.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/jenkins_scripts/mac/android/build-android-2.2-3.2-debug.sh b/tools/jenkins_scripts/mac/android/build-android-2.2-3.2-debug.sh index ca5881893e..cc6feacab2 100755 --- a/tools/jenkins_scripts/mac/android/build-android-2.2-3.2-debug.sh +++ b/tools/jenkins_scripts/mac/android/build-android-2.2-3.2-debug.sh @@ -116,7 +116,7 @@ antcompile cp $ROOT/tools/jenkins_scripts/ant.properties $ROOT/samples/Lua/HelloLua/proj.android cp $ROOT/tools/jenkins_scripts/build.xml $ROOT/samples/Lua/HelloLua/proj.android -cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Lua/CppHelloLua/proj.android +cp $ROOT/tools/jenkins_scripts/mac/rootconfig-mac.sh $ROOT/samples/Lua/HelloLua/proj.android cd $ROOT/samples/Lua/HelloLua/proj.android sh rootconfig-mac.sh HelloLua sh build_native.sh diff --git a/tools/jenkins_scripts/windows/android/rootconfig.sh b/tools/jenkins_scripts/windows/android/rootconfig.sh index cce166d359..ee5d4c958f 100755 --- a/tools/jenkins_scripts/windows/android/rootconfig.sh +++ b/tools/jenkins_scripts/windows/android/rootconfig.sh @@ -39,7 +39,7 @@ elif [ $1 = TestLua ]; then elif [ $1 = TestJavascript ]; then sed -i '2d' $CUR/build.xml sed -i '2 i\' $CUR/build.xml -else [ $1 = SimpleGame ]; then +elif [ $1 = SimpleGame ]; then sed -i '2d' $CUR/build.xml sed -i '2 i\' $CUR/build.xml fi \ No newline at end of file