summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Bélanger <snowmaniscool@gmail.com>2009-10-14 21:18:08 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-10-26 21:56:29 +0100
commit96bcc18c5df5c7ef81a38c7338467ae0c75eca08 (patch)
tree842fe8c4fe5b9f93f3d14fb9ebf354de4f43ad27
parent3d45f943876853b3a745914c8a5a74ffc039f99b (diff)
downloaddbscripts-96bcc18c5df5c7ef81a38c7338467ae0c75eca08.tar.gz
dbscripts-96bcc18c5df5c7ef81a38c7338467ae0c75eca08.tar.xz
Added source-cleanup directory support
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r--config1
-rwxr-xr-xmisc-scripts/make-sourceball2
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