From 2c71b8762f8312acd1f6ae592f3e87cdb183cc3b Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Tue, 11 Sep 2007 18:52:37 +0200 Subject: [PATCH] daily: Rename to daily.sed.in to be able to use %TOPDIR% This makes the script independent from where it is called from, which is a good thing for something called from cronjobs and the like. --- bin/{daily => daily.sed.in} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename bin/{daily => daily.sed.in} (98%) diff --git a/bin/daily b/bin/daily.sed.in similarity index 98% rename from bin/daily rename to bin/daily.sed.in index 44c458e..28c8333 100755 --- a/bin/daily +++ b/bin/daily.sed.in @@ -19,7 +19,7 @@ # Should run after the mirror pulse. The mirror tends to finish by # the ctime of rsync.log.* in ~archvsync. -source config.sh +source %TOPDIR%/config.sh files=$topdir/files logs=$files/logs log=$logs/cron.log -- 2.39.2