Update travis_deploy.sh

This commit is contained in:
brindosch 2016-09-17 21:38:54 +02:00 committed by GitHub
parent 858125510e
commit 70eed516c4

View File

@ -4,7 +4,7 @@
sf_upload() sf_upload()
{ {
/usr/bin/expect <<-EOD /usr/bin/expect <<-EOD
spawn scp $1 $2 hyperionsf37@frs.sourceforge.net:/home/frs/project/hyperion-project/dev/$3 spawn scp $1 hyperionsf37@frs.sourceforge.net:/home/frs/project/hyperion-project/dev/$3
expect "*(yes/no)*" expect "*(yes/no)*"
send "yes\r" send "yes\r"
expect "*password:*" expect "*password:*"
@ -13,7 +13,7 @@ sf_upload()
EOD EOD
} }
deploylist="hyperion-2.0.0-Linux-x86.deb hyperion-2.0.0-Linux-x86.tar.gz" deploylist="hyperion-2.0.0-Linux-x86.tar.gz"
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
cd $TRAVIS_BUILD_DIR/build cd $TRAVIS_BUILD_DIR/build