From 044a26cf5dede31271dbeb8f8201f1418718e62c Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 23 Feb 2009 13:45:39 -0800 Subject: Remove old sourceballs before doing anything This prevents dangling sourceballs sitting around when things start to fail or licenses are changed. Signed-off-by: Aaron Griffin --- misc-scripts/make-sourceball | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc-scripts/make-sourceball') diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball index 85756de..d58d48f 100755 --- a/misc-scripts/make-sourceball +++ b/misc-scripts/make-sourceball @@ -139,8 +139,8 @@ set_umask cd "$WORKDIR" if /usr/bin/svn export -q "$SVN_PATH/$packagename" $packagename; then - create_srcpackage "$packagename/repos/$reponame-$_arch" remove_old "$pkgname/repos/" + create_srcpackage "$packagename/repos/$reponame-$_arch" else die "\tPackage '$packagename' does not exist in repo '$reponame-$_arch'" fi -- cgit v1.2.3-24-g4f1b