fixed typo
This commit is contained in:
parent
fba8d6b0e3
commit
4e7dac50c1
4
run.sh
4
run.sh
@ -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' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user