From 7edb6b55cbacbc32c0234026df38401a60561dc7 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 20 Nov 2010 21:14:42 +0100 Subject: sourceballs: skip in a clean way if source package should not be created --- misc-scripts/make-sourceball | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b