From a21429509d1d0a150cabfeefa8177e5ca51c265f Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 11 Feb 2009 11:41:41 -0500 Subject: 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 --- misc-scripts/make-sourceball | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.1-4-g5e80