From b8f242c504623390d2ec7e71382292b392e04531 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 18 Apr 2017 18:35:05 +0200 Subject: [PATCH] Use absolute path to reference ssh key. Relative path is a bad idea, it fails if we change the current directory. (And it actually fails with the scp) --- travis/compile_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/compile_all.sh b/travis/compile_all.sh index f33dde2..ac8bd59 100755 --- a/travis/compile_all.sh +++ b/travis/compile_all.sh @@ -4,7 +4,7 @@ set -e BASE_DIR="BUILD_${PLATFORM}" NIGHTLY_ARCHIVES_DIR=${HOME}/NIGHTLY_ARCHIVES -SSH_KEY=travis/travisci_builder_id_key +SSH_KEY=${TRAVIS_BUILD_DIR}/travis/travisci_builder_id_key mkdir -p ${NIGHTLY_ARCHIVES_DIR}