Skip to content

Commit

Permalink
Use sftp batch mode
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 24, 2016
1 parent 6351c78 commit 5246328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/upload-release
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [ ! -z "$2" ] ; then
cd "$2"
fi

sftp nijel,gammu@frs.sourceforge.net <<EOT
sftp nijel,gammu@frs.sourceforge.net -b - <<EOT
cd /home/frs/project/g/ga/gammu/gammu
mkdir $REL
cd $REL
Expand All @@ -21,7 +21,7 @@ put gammu-$REL.tar.gz
put gammu-$REL.zip
EOT

sftp web <<EOT
sftp web -b - <<EOT
cd /srv/http/dl.cihar.com/gammu/releases/
put gammu-$REL.tar.bz2
put gammu-$REL.tar.xz
Expand Down

0 comments on commit 5246328

Please sign in to comment.