From 9058704d2c18a8cc7d87a841d8cedb6c832f31b5 Mon Sep 17 00:00:00 2001 From: Jason Ho Date: Sat, 16 Sep 2023 15:34:51 -0700 Subject: [PATCH] fail downloads on error, use a different url for downloading minecraft jar --- scripts/apply.sh | 3 +++ scripts/upstream.sh | 3 +++ sportpaper | 2 ++ 3 files changed, 8 insertions(+) diff --git a/scripts/apply.sh b/scripts/apply.sh index fa6f4065b..00631d2f7 100755 --- a/scripts/apply.sh +++ b/scripts/apply.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + # get base dir regardless of execution location SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink diff --git a/scripts/upstream.sh b/scripts/upstream.sh index 2456865a8..f864d078f 100755 --- a/scripts/upstream.sh +++ b/scripts/upstream.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + # get base dir regardless of execution location SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink diff --git a/sportpaper b/sportpaper index 3ca117b5c..1e46b0d49 100755 --- a/sportpaper +++ b/sportpaper @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + # get base dir regardless of execution location SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink