summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-20 21:14:42 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-20 21:14:42 +0100
commit7edb6b55cbacbc32c0234026df38401a60561dc7 (patch)
treea0adbd4f6544e4cede0e6bb377eaf64f8454cc5f
parenta7591f4be3f9e741f5d1e5aeadd3ab20b497a252 (diff)
sourceballs: skip in a clean way if source package should not be created
-rwxr-xr-xmisc-scripts/make-sourceball2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball
index 661f481..da51c93 100755
--- a/misc-scripts/make-sourceball
+++ b/misc-scripts/make-sourceball
@@ -30,7 +30,7 @@ create_srcpackage() {
if ! [ $FORCE == 1 ] && ! chk_license ${license[@]} ; then
# Removed so as not to clutter failed.txt
#warning "$packagename license (${license[@]}) does not require source tarballs"
- cleanup 0
+ return 0
else
msg "Creating source tarball for $packagename-$pkgver-$pkgrel"
fi