Change path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-10-05 21:51:42 +00:00
parent 070eb6143e
commit c1203f98fe
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
for FILE in output/epubs/* for FILE in output/*
do do
ebook-polish -fjpuiHU "${FILE}" "${FILE}" ebook-polish -fjpuiHU "${FILE}" "${FILE}"
ebook-convert "${FILE}" "${FILE%.*}.pdf" ebook-convert "${FILE}" "${FILE%.*}.pdf"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
for FILE in output/epubs/* for FILE in output/*
do do
FILE_URL=$(sed "s/ /%20/g" <<< "${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}" curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE_URL}"