summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-11 17:41:41 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-11 17:43:58 +0100
commita21429509d1d0a150cabfeefa8177e5ca51c265f (patch)
tree17985dc5b6745b17b77a025321f9ea41b60e1166
parent90f27119e2d266e96f09c241d7cc84a72974d11d (diff)
downloaddbscripts-a21429509d1d0a150cabfeefa8177e5ca51c265f.tar.gz
dbscripts-a21429509d1d0a150cabfeefa8177e5ca51c265f.tar.xz
Fail on license mismatch, instead of succeeding
This is done mainly so we can get a log of all failures and ignore normal output Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xmisc-scripts/make-sourceball3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball
index f45eba8..c2ed576 100755
--- a/misc-scripts/make-sourceball
+++ b/misc-scripts/make-sourceball
@@ -62,8 +62,7 @@ create_srcpackage() {
echo "Creating source tarball for $pkgname-$pkgver-$pkgrel"
if ! chk_license ${license[@]}; then
- echo -e "\tPackage license (${license[@]}) does not require source tarballs. Doing nothing"
- cleanup 0
+ die -e "\tPackage license (${license[@]}) does not require source tarballs. Doing nothing"
fi
if ! /usr/bin/makepkg --allsource >"$logpath/$pkgname" 2>&1; then