summaryrefslogtreecommitdiff
path: root/cron-jobs/ftpdir-cleanup
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-08-18 16:12:59 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-08-18 16:12:59 -0700
commitc7c797f0863c41f1e7ef9e17b408dab84ef493e6 (patch)
tree562d0fbe1628b9ab2bd05f2b6b0a8966b6c722f7 /cron-jobs/ftpdir-cleanup
parent49fb4d75ea83dca2ed4653e8454c478c1fd0555a (diff)
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 <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-xcron-jobs/ftpdir-cleanup2
1 files changed, 1 insertions, 1 deletions
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