summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2014-12-19 06:05:59 +1100
committerLeith Bade <leith@mapbox.com>2014-12-19 06:05:59 +1100
commit2a4b39c67f855461685bd71234150babe2b8f70f (patch)
tree335b482feb5eaca38747d1c502ed0e6a50886545 /scripts
parent2aa7fb361dce9faec04dea7c25e1f2f3fcaf9d7c (diff)
downloadqtlocation-mapboxgl-2a4b39c67f855461685bd71234150babe2b8f70f.tar.gz
Fix path again
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_before_install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/travis_before_install.sh b/scripts/travis_before_install.sh
index 70ab8bdca9..4be8b73adb 100755
--- a/scripts/travis_before_install.sh
+++ b/scripts/travis_before_install.sh
@@ -45,7 +45,8 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then
echo y | ./android-sdk/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.2,android-21,extra-android-m2repository,extra-google-m2repository
echo "inserting access token"
- echo "${ANDROID_KEY}" >> ./android/java/app/src/main/res/token.txt
+ mkdir ./android/java/app/src/main/res/raw/
+ echo "${ANDROID_KEY}" >> ./android/java/app/src/main/res/raw/token.txt
elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
@@ -76,7 +77,8 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then
echo y | ./android-sdk/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.2,android-21,extra-android-m2repository,extra-google-m2repository
echo "inserting access token"
- echo "${ANDROID_KEY}" >> ./android/java/app/src/main/res/token.txt
+ mkdir ./android/java/app/src/main/res/raw/
+ echo "${ANDROID_KEY}" >> ./android/java/app/src/main/res/raw/token.txt
fi