summaryrefslogtreecommitdiff
path: root/misc-scripts/make-sourceball
diff options
context:
space:
mode:
Diffstat (limited to 'misc-scripts/make-sourceball')
-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