diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-23 22:45:39 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-23 22:47:35 +0100 |
commit | 044a26cf5dede31271dbeb8f8201f1418718e62c (patch) | |
tree | 47a5a7c5d876324bec331474922a8f28b0ada8b3 /misc-scripts/make-sourceball | |
parent | 0d3c5671c27f0b5848bb72df9af2270f72e7c988 (diff) | |
download | dbscripts-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-x | misc-scripts/make-sourceball | 2 |
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 |