Commit 779e872f authored by quasicomputational's avatar quasicomputational Committed by Mikhail Glushenkov

travis: rot13 lowercase, too.

parent 041a2380
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
# See travis/upload.sh for more documentation # See travis/upload.sh for more documentation
git remote set-url --push origin git@github.com:haskell-pushbot/cabal-binaries.git git remote set-url --push origin git@github.com:haskell-pushbot/cabal-binaries.git
(umask 177 && tr A-Z N-ZA-M < id_rsa.rot13 > $HOME/.ssh/id_rsa) (umask 177 && tr A-Za-z N-ZA-Mn-za-m < id_rsa.rot13 > $HOME/.ssh/id_rsa)
ssh-keyscan github.com >> $HOME/.ssh/known_hosts ssh-keyscan github.com >> $HOME/.ssh/known_hosts
git push origin --delete "$(git rev-parse --abbrev-ref HEAD)" git push origin --delete "$(git rev-parse --abbrev-ref HEAD)"
...@@ -39,7 +39,7 @@ cd travis ...@@ -39,7 +39,7 @@ cd travis
# Setup SSH key we will use to push to binaries repository. # Setup SSH key we will use to push to binaries repository.
# umask to get the permissions to be 600 (not 400, because the deploy # umask to get the permissions to be 600 (not 400, because the deploy
# script in .travis.yml is going to clobber this private key) # script in .travis.yml is going to clobber this private key)
(umask 177 && tr A-Z N-ZA-M < id_rsa.rot13 > $HOME/.ssh/id_rsa) (umask 177 && tr A-Za-z N-ZA-Mn-za-m < id_rsa.rot13 > $HOME/.ssh/id_rsa)
# Setup SSH keys # Setup SSH keys
ssh-keyscan github.com >> $HOME/.ssh/known_hosts ssh-keyscan github.com >> $HOME/.ssh/known_hosts
...@@ -65,7 +65,7 @@ mkdir cabal-install ...@@ -65,7 +65,7 @@ mkdir cabal-install
cp -R $TRAVIS_BUILD_DIR/Cabal/tests Cabal cp -R $TRAVIS_BUILD_DIR/Cabal/tests Cabal
cp -R $TRAVIS_BUILD_DIR/cabal-install/tests cabal-install cp -R $TRAVIS_BUILD_DIR/cabal-install/tests cabal-install
# Copy in credentials so we can delete branch when done # Copy in credentials so we can delete branch when done
tr A-Z N-ZA-M < $TRAVIS_BUILD_DIR/travis/id_rsa.rot13 > id_rsa tr A-Za-z N-ZA-Mn-za-m < $TRAVIS_BUILD_DIR/travis/id_rsa.rot13 > id_rsa
# Install all of the necessary files for testing # Install all of the necessary files for testing
cp $TRAVIS_BUILD_DIR/travis-install.sh . cp $TRAVIS_BUILD_DIR/travis-install.sh .
cp $TRAVIS_BUILD_DIR/travis-common.sh . cp $TRAVIS_BUILD_DIR/travis-common.sh .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment