Skip to content

Commit

Permalink
Merge pull request #2 from DataverseNO/develop
Browse files Browse the repository at this point in the history
script change exit point
  • Loading branch information
BenediktMeierUIT authored May 7, 2024
2 parents dac6ac2 + 7c0127f commit 5061592
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions upload_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dirLocal=$(pwd)
# go to the version folder
if [ -z "$1" ]; then
echo "The variable is empty."
exit 1
fi
folder="$1"

Expand All @@ -25,3 +26,5 @@ cd ./js
while read url; do
wget --quiet $url
done < "${dirLocal}/urls_js.txt"

exit 0

0 comments on commit 5061592

Please sign in to comment.