From ac0d783204c7c1612aaf5b8bb04b8c390d6e5b78 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 21 Nov 2011 12:21:34 -0800 Subject: cron: make pack-refs slightly friendlier to wacky non-piny setups. --- pinyconfigs/etc/cron.weekly/piny | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pinyconfigs/etc/cron.weekly/piny') diff --git a/pinyconfigs/etc/cron.weekly/piny b/pinyconfigs/etc/cron.weekly/piny index 0a9195b..7299aa6 100755 --- a/pinyconfigs/etc/cron.weekly/piny +++ b/pinyconfigs/etc/cron.weekly/piny @@ -5,5 +5,5 @@ export GIT_DIR for GIT_DIR in `find /srv/git/ -mindepth 1 -type d -name '*.git' -print -prune`; do git gc --aggressive --auto --quiet git pack-refs --all - chown --reference="$GIT_DIR"/objects "$GIT_DIR"/packed-refs + chown --reference="$GIT_DIR"/refs "$GIT_DIR"/packed-refs done -- cgit v1.2.3