From ee4074de910df5c637691ace06ec5a9d475fb4a3 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 3 May 2010 09:17:04 -0700 Subject: Add PKGPOOL_DIR config variable This is a relative var, descendent from FTP_BASE. We do this because we also need a relative path to the package pool dir --- 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 977b384..a278341 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -36,7 +36,7 @@ done to_cleanup="" for _arch in ${ARCHES[@]}; do - poolpath="$FTP_BASE/packages/os/$_arch/" + poolpath="$FTP_BASE/$PKGPOOL_DIR/os/$_arch/" cd $poolpath for pkg in *$PKGEXT; do [ -f "$pkg" ] || continue # in case we get a file named "*.pkg.tar.gz" -- cgit v1.2.3-24-g4f1b