summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-23 13:45:39 -0800
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-23 13:47:35 -0800
commit044a26cf5dede31271dbeb8f8201f1418718e62c (patch)
tree47a5a7c5d876324bec331474922a8f28b0ada8b3
parent0d3c5671c27f0b5848bb72df9af2270f72e7c988 (diff)
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 <aaronmgriffin@gmail.com>
-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 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