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