Fix recursive upload with Cygwin
This commit is contained in:
parent
2c034253b4
commit
620ee69b65
BIN
src/.ks-upa.swp
Normal file
BIN
src/.ks-upa.swp
Normal file
Binary file not shown.
BIN
src/.ks-upf.swp
Normal file
BIN
src/.ks-upf.swp
Normal file
Binary file not shown.
BIN
src/.ks-upr.swp
Normal file
BIN
src/.ks-upr.swp
Normal file
Binary file not shown.
BIN
src/.ks-upv.swp
Normal file
BIN
src/.ks-upv.swp
Normal file
Binary file not shown.
|
@ -159,7 +159,7 @@ function sendFile() {
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
echo "+ Sending files from ${2} to ${5} (${4})"
|
echo "+ Sending files from ${2} to ${5} (${4})"
|
||||||
/usr/bin/sshpass -p ${1} /usr/bin/scp ${2}/* ${3}@${4}:${5}/ 2> /dev/null
|
/usr/bin/sshpass -p ${1} /usr/bin/scp -r ${2}/* ${3}@${4}:${5}/ 2> /dev/null
|
||||||
fi
|
fi
|
||||||
# Run command for upload on Unix systems
|
# Run command for upload on Unix systems
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user