fixed typo

This commit is contained in:
Nick 2021-05-07 13:09:07 -04:00
parent fba8d6b0e3
commit 4e7dac50c1

4
run.sh
View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set +x set +x
URLs=$(export | grep URL) URLs=$(export | grep URL | cut -d'=' -f2-)
#if [[ -z "${URL}" ]] #if [[ -z "${URL}" ]]
#then #then
@ -15,7 +15,7 @@ then
exit 1 exit 1
fi fi
for f in ${URLs | cut -d'=' -f2-); do for f in "${URLs}"; do
curl -s -X POST \ curl -s -X POST \
-H 'AccessKey: '"${BUNNYCDN_API}"'' \ -H 'AccessKey: '"${BUNNYCDN_API}"'' \
-H 'Content-Length: 0' \ -H 'Content-Length: 0' \