diff options
author | Max Kellermann <max@duempel.org> | 2015-01-09 16:50:31 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-09 16:51:52 +0100 |
commit | 00740fb23b42dc84d53638cd9b0a7226218a1755 (patch) | |
tree | b3045b6fdf9408fda07babf7dba42899bd94ab44 /android | |
parent | 37e9010887783c307355f3144786ed72e8a973b0 (diff) | |
download | mpd-00740fb23b42dc84d53638cd9b0a7226218a1755.tar.gz mpd-00740fb23b42dc84d53638cd9b0a7226218a1755.tar.xz mpd-00740fb23b42dc84d53638cd9b0a7226218a1755.zip |
android/build.py: prepend "./" to "configure" if path is empty
Fixes in-tree build when the script is called as "android/build.py"
and not "./android/build.py".
Diffstat (limited to 'android')
-rwxr-xr-x | android/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |