diff --git a/android/build.py b/android/build.py index 8455dd6a9..751fce167 100755 --- a/android/build.py +++ b/android/build.py @@ -23,7 +23,7 @@ if not os.path.isdir(ndk_path): sys.exit(1) # the path to the MPD sources -mpd_path = os.path.dirname(os.path.dirname(sys.argv[0])) +mpd_path = os.path.dirname(os.path.dirname(sys.argv[0])) or '.' # output directories lib_path = os.path.abspath('lib')