summaryrefslogtreecommitdiffstats
path: root/misc-scripts/make-sourceball
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-23 22:45:39 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-23 22:47:35 +0100
commit044a26cf5dede31271dbeb8f8201f1418718e62c (patch)
tree47a5a7c5d876324bec331474922a8f28b0ada8b3 /misc-scripts/make-sourceball
parent0d3c5671c27f0b5848bb72df9af2270f72e7c988 (diff)
downloaddbscripts-044a26cf5dede31271dbeb8f8201f1418718e62c.tar.gz
dbscripts-044a26cf5dede31271dbeb8f8201f1418718e62c.tar.xz
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>
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 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