Skip to content

Commit

Permalink
Merge pull request pelican-eggs#1060 from parkervcp/update/download_v…
Browse files Browse the repository at this point in the history
…alidator

update download script
  • Loading branch information
parkervcp authored Mar 29, 2021
2 parents 4eff65e + 942a1ec commit 1e15064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/download_link_validator.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## this is a simple script to validate a download url actaully exists

if [ ! -z "${DOWNLOAD_URL}"]; then
if [ ! -z "${DOWNLOAD_URL}" ]; then
if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}; then
echo -e "link is valid. setting download link to ${DOWNLOAD_URL}"
DOWNLOAD_LINK=${DOWNLOAD_URL}
Expand Down

0 comments on commit 1e15064

Please sign in to comment.