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