summaryrefslogtreecommitdiff
path: root/abslibre
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2015-05-24 08:09:56 +0100
committerParabola <dev@list.parabolagnulinux.org>2015-05-24 08:09:56 +0100
commit0527d9f1f600387f3397ebcbaff1a6742862cf9f (patch)
tree01c4dfd72381426d4d4ef4fb3ab5dbc1ad274368 /abslibre
parent8a57cf2f7a1f83083dec391a2c157f552c0725a7 (diff)
abslibre: use `set -e` for cleaner error handling
Diffstat (limited to 'abslibre')
-rwxr-xr-xabslibre17
1 files 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