From 498b02c9ec489a4424561e588252f2cc03ce4f3e Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Tue, 7 Feb 2017 01:19:13 -0500 Subject: [PATCH] try #2 for the deploy --- CI/travis/deploy | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/CI/travis/deploy b/CI/travis/deploy index 759e5769d..cf20375f9 100755 --- a/CI/travis/deploy +++ b/CI/travis/deploy @@ -30,29 +30,24 @@ echo attemting to deploy $1 to $2 echo and latest_libiio${LDIST}$3 ssh -V -cat < script$3 -cd ${DEPLOY_TO} -EOT +echo "cd ${DEPLOY_TO}" > script$3 if curl -m 10 -s -I -f -o /dev/null http://swdownloads.analog.com/cse/travis_builds/${TO} ; then echo "rm ${TO}" >> script$3 fi -cat <> test$3 -put ${FROM} ${TO} -ls -l ${TO} -EOT +echo "put ${FROM} ${TO}" >> script$3 +echo "ls -l ${TO}" >> script$3 if curl -m 10 -s -I -f -o /dev/null http://swdownloads.analog.com/cse/travis_builds/${LATE} ; then echo "rm ${LATE}" >> script$3 fi -cat <> script$3 -symlink ${TO} ${LATE} -ls -l ${LATE} -bye -EOT +echo "symlink ${TO} ${LATE}" >> script$3 +echo "ls -l ${LATE}" >> script$3 +echo "bye" >> script$3 -sftp ${EXTRA_SSH} -b script$3 ${SSHUSER}@${SSHHOST} +cat script$3 +#sftp ${EXTRA_SSH} -b script$3 ${SSHUSER}@${SSHHOST} ` # there is some issue with the travis-ci / OSX implmentation - this # doesn't work on that platform, so we just copy it above, vs linking it