tpass host to upload script - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 665d6540d7c5067a16071e139125ba29464346de DIR parent e81f4bdcd11a072e7c4f38fb1c7eec19c2f7e1a8 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 11 Jul 2019 16:34:33 +0200 pass host to upload script Diffstat: M contrib/upload | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/contrib/upload b/contrib/upload t@@ -2,16 +2,17 @@ set -e +host=$1 version=`git describe --tags` echo $version here=$(dirname "$0") cd $here/../dist -sftp -oBatchMode=no -b - thomasv@download.electrum.org << ! +sftp -oBatchMode=no -b - thomasv@$host << ! cd electrum-downloads mkdir $version cd $version mput * bye -! -\ No newline at end of file +!