Skip to content

Commit

Permalink
script change exit point
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMeierUIT committed May 7, 2024
1 parent 0b6ff0b commit 7c0127f
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 7c0127f

Please sign in to comment.