Commit debe634d authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-3870: Scripts: Exit if unable to clone

parent 9abaa39c
......@@ -10,7 +10,7 @@ if [ -d "uw_wcms_gesso" ]; then
echo "Done removing old Gesso."
fi
git clone "https://git.uwaterloo.ca/wcms/uw_wcms_gesso.git"
git clone "https://git.uwaterloo.ca/wcms/uw_wcms_gesso.git" || exit 1
cd "uw_wcms_gesso"
......
......@@ -12,7 +12,7 @@ fi
echo "Bulding new UW gesso ..."
cd "$uw_wcms_gesso_root_path"
git clone "https://git.uwaterloo.ca/wcms/uw_wcms_gesso.git"
git clone "https://git.uwaterloo.ca/wcms/uw_wcms_gesso.git" || exit 1
cd "uw_wcms_gesso"
git checkout "$gesso_branch_tag"
sh ./build_gesso.sh $build_option
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment