Browse Source

try fix travis

Daniel Zlotin 7 years ago
parent
commit
6cd9e23484
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/env/installAndroidSDK.sh

+ 1
- 1
scripts/env/installAndroidSDK.sh View File

@@ -1,6 +1,6 @@
1 1
 #!/bin/bash -e
2 2
 
3
-scriptdir="${BASH_SOURCE[${#BASH_SOURCE[@]} - 1]}"
3
+scriptdir="$(dirname "${BASH_SOURCE[0]}")"
4 4
 
5 5
 export ANDROID_HOME=$HOME/android-sdk-macosx
6 6
 export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools