Fix spaces in url for curl upload
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ae6b4d724a
commit
57d2862621
@ -2,5 +2,6 @@
|
||||
|
||||
for FILE in output/epubs/*
|
||||
do
|
||||
curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE##*/}"
|
||||
FILE_URL=$(sed "s/ /%20/g" <<< "${FILE##*/}")
|
||||
curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE_URL}"
|
||||
done
|
||||
|
Reference in New Issue
Block a user