[arch-dev-public] [PATCH 3/4] Added source-cleanup directory support

=?UTF-8?q?Eric=20B=E9langer?= snowmaniscool at gmail.com
Wed Oct 14 15:18:08 EDT 2009


Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
---
 config                       |    1 +
 misc-scripts/make-sourceball |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

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
-- 
1.6.5



More information about the arch-dev-public mailing list