summaryrefslogtreecommitdiff
path: root/pinyconfigs
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-11-21 12:21:34 -0800
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-11-21 12:21:34 -0800
commitac0d783204c7c1612aaf5b8bb04b8c390d6e5b78 (patch)
tree242f195264335690b531c8055c579143e151cb26 /pinyconfigs
parent2235d26983a8636a441aa8221f40cf916728e1c1 (diff)
downloadpiny-code-ac0d783204c7c1612aaf5b8bb04b8c390d6e5b78.tar.gz
piny-code-ac0d783204c7c1612aaf5b8bb04b8c390d6e5b78.zip
cron: make pack-refs slightly friendlier to wacky non-piny setups.
Diffstat (limited to 'pinyconfigs')
-rwxr-xr-xpinyconfigs/etc/cron.weekly/piny2
1 files changed, 1 insertions, 1 deletions
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