Merge pull request #4041 from minggo/iss2905-adjust_folder

can run build-android.python in any path
This commit is contained in:
minggo 2013-10-31 23:28:23 -07:00
commit be1afb502b
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def build_samples(target,ndk_build_param):
select_toolchain_version()
build_targets = caculate_built_samples(target)
current_dir = os.getcwd()
current_dir = os.path.dirname(os.path.realpath(__file__))
cocos_root = os.path.join(current_dir, "..")
app_android_root = ''