summaryrefslogtreecommitdiffstats
path: root/cron-jobs/ftpdir-cleanup
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2010-04-28 20:55:04 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2010-04-28 20:55:04 +0200
commit709b4a514e24620145756a312ef9aab0662a3d8f (patch)
tree9b264bc0ca5885fc0c8930bf8158a452f1d9b681 /cron-jobs/ftpdir-cleanup
parente284d06d6cf63665cbadcb65e3a09bbd18027bd1 (diff)
downloaddbscripts-709b4a514e24620145756a312ef9aab0662a3d8f.tar.gz
dbscripts-709b4a514e24620145756a312ef9aab0662a3d8f.tar.xz
ftpdir-cleanup: Fix cleanup of package pool
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 1ccc654..2496ced 100755
--- a/cron-jobs/ftpdir-cleanup
+++ b/cron-jobs/ftpdir-cleanup
@@ -64,7 +64,7 @@ if [ -n "$to_cleanup" ]; then
echo " $(basename "$f")"
done
echo ""
- mv "$f" "$CLEANUP_DESTDIR"
+ mv $to_cleanup "$CLEANUP_DESTDIR"
fi
cleanup