diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2015-05-24 08:09:56 +0100 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2015-05-24 08:09:56 +0100 |
commit | 0527d9f1f600387f3397ebcbaff1a6742862cf9f (patch) | |
tree | 01c4dfd72381426d4d4ef4fb3ab5dbc1ad274368 /abslibre | |
parent | 8a57cf2f7a1f83083dec391a2c157f552c0725a7 (diff) |
abslibre: use `set -e` for cleaner error handling
Diffstat (limited to 'abslibre')
-rwxr-xr-x | abslibre | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -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 |