cost of progress :(
This commit is contained in:
parent
9b2d1bfa07
commit
e927b96efd
|
@ -20,7 +20,7 @@ for f in *.ini; do if [[ -f "$f" ]]; then
|
||||||
echo "* found path: $path"
|
echo "* found path: $path"
|
||||||
# unbeliveable, ncftpput does not work with special characters in password?!
|
# unbeliveable, ncftpput does not work with special characters in password?!
|
||||||
# ncftpput -m -R -v -u "$1" -p "$2" "$3" $path $f
|
# 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=$?
|
retVal=$?
|
||||||
if [ $retVal -ne 0 ]; then
|
if [ $retVal -ne 0 ]; then
|
||||||
echo "Upload failed"
|
echo "Upload failed"
|
||||||
|
|
Loading…
Reference in New Issue