From c7c797f0863c41f1e7ef9e17b408dab84ef493e6 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 18 Aug 2009 16:12:59 -0700 Subject: Use db-functions file everywhere This source the config file and gets us functions such as getpkgname which were duplicated elsewhere Signed-off-by: Aaron Griffin --- cron-jobs/ftpdir-cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-jobs/ftpdir-cleanup') diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup index 1a9fd98..04caf93 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -28,7 +28,7 @@ trap ctrl_c 2 /usr/bin/renice +10 -p $$ > /dev/null #Get our destination dir -. $(dirname $0)/../config +. "$(dirname $0)/../db-functions" for repo in $repos; do $(dirname $0)/../misc-scripts/ftpdir-cleanup $repo $CLEANUP_DESTDIR -- cgit v1.2.3-24-g4f1b