From e927b96efd57d2ff2635e11f5b7723a1f1cef530 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 28 Jun 2020 20:38:28 -0400 Subject: [PATCH] cost of progress :( --- firmware/tunerstudio/upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/tunerstudio/upload.sh b/firmware/tunerstudio/upload.sh index 51bf0f6425..edc7ffc8b1 100755 --- a/firmware/tunerstudio/upload.sh +++ b/firmware/tunerstudio/upload.sh @@ -20,7 +20,7 @@ for f in *.ini; do if [[ -f "$f" ]]; then echo "* found path: $path" # unbeliveable, ncftpput does not work with special characters in password?! # ncftpput -m -R -v -u "$1" -p "$2" "$3" $path $f - sshpass -p $2 sftp -o StrictHostKeyChecking=no $1@$3 <<< $'put rusefi.ini' + sshpass -p $2 sftp -o StrictHostKeyChecking=no $1@$3 <<< $'put $f' retVal=$? if [ $retVal -ne 0 ]; then echo "Upload failed"