From 3bcb9d8c78857cb40110616c3fe08259c577fdca Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 17 Jul 2009 12:51:58 -0700 Subject: ftpdir-cleanup: Add configurable destdir Signed-off-by: Aaron Griffin --- cron-jobs/ftpdir-cleanup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cron-jobs') diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup index 6c295c9..77a0843 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -28,9 +28,12 @@ trap ctrl_c 2 #adjust the nice level to run at a lower priority /usr/bin/renice +10 -p $$ > /dev/null +#Get our destination dir +. $(dirname $0)/../config + for repo in $repos; do for arch in $arches; do - $(dirname $0)/../misc-scripts/ftpdir-cleanup $repo $arch + $(dirname $0)/../misc-scripts/ftpdir-cleanup $repo $arch $CLEANUP_DESTDIR done done -- cgit v1.2.3-24-g4f1b