From 96bcc18c5df5c7ef81a38c7338467ae0c75eca08 Mon Sep 17 00:00:00 2001 From: Eric Bélanger Date: Wed, 14 Oct 2009 15:18:08 -0400 Subject: Added source-cleanup directory support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Bélanger Signed-off-by: Aaron Griffin --- config | 1 + misc-scripts/make-sourceball | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config b/config index 24ec37a..92def37 100644 --- a/config +++ b/config @@ -5,6 +5,7 @@ FTP_OS_SUFFIX="os" SVNREPO="file:///srv/svn-packages" CLEANUP_DESTDIR="/srv/package-cleanup" +SOURCE_CLEANUP_DESTDIR="/srv/source-cleanup" STAGING="$HOME/staging" TMPDIR="/srv/tmp" diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball index 1e7eabc..8899fca 100755 --- a/misc-scripts/make-sourceball +++ b/misc-scripts/make-sourceball @@ -117,7 +117,7 @@ remove_old() { fi done if [ $skip -ne 1 ]; then - rm -f "$srcpkg" + mv "$srcpkg" $SOURCE_CLEANUP_DESTDIR fi fi done -- cgit v1.2.3-24-g4f1b