Fix sh
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Michel Roux 2022-01-18 22:14:09 +00:00
parent bd60f3c0c5
commit a58a3df760
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/* for FILE in output/epubs/*
do do
ebook-polish -fpuiU "${FILE}" "${FILE}" ebook-polish -fpuiU "${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/* for FILE in output/epubs/*
do do
curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE##*/}" curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE##*/}"
done done