Skip to content

Commit

Permalink
Stop downloading if error occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
linusyang committed Nov 17, 2018
1 parent c0f8d07 commit 81e0325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ declare -a eu_urls=(

command -v dirname >/dev/null 2>&1 && cd "$(dirname "$0")"
if [[ "$1" == "rom" ]]; then
set -e
base_dir=/sdcard/TWRP
[ -z "$2" ] && VER="$EU_VER" || VER=$2
[ -d "$base_dir" ] || base_dir=.
Expand Down

0 comments on commit 81e0325

Please sign in to comment.