From 6a0dcceca5a338c6c7d7532cfd943990a0fd0670 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 7 Aug 2019 20:52:46 +0100 Subject: [PATCH] Upload to the directory, not replace it! --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 5e2cbf3..e28b0f5 100755 --- a/build +++ b/build @@ -108,7 +108,7 @@ _upload_deb() { echo "Found ${filename}"; sftp -i "${SSH_KEY_PATH}" -P "${deploy_ssh_port}" -o PasswordAuthentication=no "${deploy_ssh_user}@${deploy_ssh_host}" << SFTPCOMMANDS -put ${filename} ${deploy_root_dir} +put ${filename} ${deploy_root_dir}/ bye SFTPCOMMANDS