Don't pollute tree with ssh-key ready indicator
Philip Whineray committed
Dec 16, 2016 at 10:21 UTC
90988d61d8303e81c50073be7027e404b6cc0f05
2 files changed
+2
-2
.travis/decrypt-if-have-key
+1
-1
@@ -29,7 +29,7 @@ then
29
chmod 600 .travis/travis_rsa
30
ssh-add .travis/travis_rsa
31
rm -f .travis/travis_rsa
32
- touch .travis/travis_rsa.ready
32
+ touch /tmp/ssh-key-loaded
33
else
34
echo "No ssh key present - skipping agent start"
35
fi
.travis/deploy-if-have-key
+1
-1
@@ -4,7 +4,7 @@ set -e
4
5
# Deploy tar-files and checksums to the firehol website
6
7
-if [ ! -f .travis/travis_rsa.ready ]
7
+if [ ! -f /tmp/ssh-key-loaded ]
8
then
9
echo "No ssh key decrypted - skipping deployment to website"
10
exit 0