From 0527d9f1f600387f3397ebcbaff1a6742862cf9f Mon Sep 17 00:00:00 2001 From: Parabola Date: Sun, 24 May 2015 08:09:56 +0100 Subject: abslibre: use `set -e` for cleaner error handling --- abslibre | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/abslibre b/abslibre index 78ec81e..493a266 100755 --- a/abslibre +++ b/abslibre @@ -1,5 +1,7 @@ #!/bin/bash +set -e -x + ABSLIBRE=/srv/abslibre ABSGIT=/srv/git/repositories/abslibre.git # Remote @@ -111,14 +113,9 @@ create_tarballs() { done } -sync_abs || exit 1 -get_blacklist || exit 1 -sync_abs_libre || exit 1 +sync_abs +get_blacklist +sync_abs_libre # This is being done at repo server now -sync_pre_mips64el || exit 1 -#create_tarballs || exit 1 - -echo "Exclusion list used" -cat ${BLFILE} - -exit 0 +sync_pre_mips64el +#create_tarballs -- cgit v1.2.3