aboutsummaryrefslogtreecommitdiffstats
path: root/android/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'android/build.py')
-rwxr-xr-xandroid/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/build.py b/android/build.py
index d937e8d39..635fef5eb 100755
--- a/android/build.py
+++ b/android/build.py
@@ -33,7 +33,7 @@ gcc_version = '4.9'
llvm_version = '3.5'
# 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')