From cad1905144e16149ee34288ed909c6819e943e37 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Fri, 25 Jul 2008 13:37:54 +0200 Subject: [PATCH] jobs/*check.sh: The cronjob scripts live in basedir/jobs --- jobs/clonecheck.sh | 2 +- jobs/updatecheck.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jobs/clonecheck.sh b/jobs/clonecheck.sh index 0541e11..eb03c9b 100755 --- a/jobs/clonecheck.sh +++ b/jobs/clonecheck.sh @@ -10,6 +10,6 @@ get_repo_list_here | while read dir; do mv "$dir" "$cfg_mqueuedir"/cloning cd "$cfg_mqueuedir"/cloning - "$cfg_basedir"/clone.sh "$dir" + "$cfg_basedir"/jobs/clone.sh "$dir" exit # next dir at next cron invocation, to be safe done diff --git a/jobs/updatecheck.sh b/jobs/updatecheck.sh index a8dcb31..982707a 100755 --- a/jobs/updatecheck.sh +++ b/jobs/updatecheck.sh @@ -20,7 +20,7 @@ get_repo_list_here | tac | (cd "$dir/objects" && [ "$(ls ?? 2>/dev/null)" ] && git --git-dir=.. repack -a -l -d -q) git --git-dir="$dir" update-server-info else - "$cfg_basedir"/update.sh "${dir%.git}" + "$cfg_basedir"/jobs/update.sh "${dir%.git}" fi # echo "- `date` $dir" done 2>&1 | grep -v '^Pack.*created\.$' -- 2.11.4.GIT