trying to progress progress

This commit is contained in:
rusefi 2020-06-28 17:14:06 -04:00
parent f90564bec9
commit 523e20bcd5
1 changed files with 6 additions and 2 deletions

View File

@ -18,8 +18,12 @@ for f in *.ini; do if [[ -f "$f" ]]; then
sig="${sig//\./\/}.ini"
path="/rusefi/$sig"
echo "* found path: $path"
ncftpput -m -R -v -u "$1" -p "$2" "$3" . rusefi.ini
ncftpput -m -R -v -u "$1" -p "$2" "$3" autoupdate $path
ncftpput -m -R -v -u "$1" -p "$2" "$3" $path $f
retVal=$?
if [ $retVal -ne 0 ]; then
echo "Upload failed"
exit -1
fi
echo "* upload done!"
fi
fi