summaryrefslogtreecommitdiffstats
path: root/misc-scripts/make-sourceball
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 /misc-scripts/make-sourceball
parenta7591f4be3f9e741f5d1e5aeadd3ab20b497a252 (diff)
downloaddbscripts-7edb6b55cbacbc32c0234026df38401a60561dc7.tar.gz
dbscripts-7edb6b55cbacbc32c0234026df38401a60561dc7.tar.xz
sourceballs: skip in a clean way if source package should not be created
Diffstat (limited to 'misc-scripts/make-sourceball')
-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