summaryrefslogtreecommitdiffstats
path: root/cron-jobs/ftpdir-cleanup
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-08-19 01:12:59 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-08-19 01:12:59 +0200
commitc7c797f0863c41f1e7ef9e17b408dab84ef493e6 (patch)
tree562d0fbe1628b9ab2bd05f2b6b0a8966b6c722f7 /cron-jobs/ftpdir-cleanup
parent49fb4d75ea83dca2ed4653e8454c478c1fd0555a (diff)
downloaddbscripts-c7c797f0863c41f1e7ef9e17b408dab84ef493e6.tar.gz
dbscripts-c7c797f0863c41f1e7ef9e17b408dab84ef493e6.tar.xz
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