From 727bebf49128771e364ba879ff5cb7962280b849 Mon Sep 17 00:00:00 2001 From: dsc Date: Tue, 21 Feb 2012 14:55:24 -0800 Subject: [PATCH] Hmm. --- update-hooks-post-update.sh | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/update-hooks-post-update.sh b/update-hooks-post-update.sh index 8e41460..c2e7be1 100755 --- a/update-hooks-post-update.sh +++ b/update-hooks-post-update.sh @@ -21,12 +21,13 @@ join () { local sep="$1" old="$IFS"; export IFS=\n; read -t1 out; while read -t - +log "whoami? $(whoami)" log "Updating hooks repo (${HOOKS_REPO})...\n" -{ cd ${CHECKOUTS}/${HOOKS_REPO} && +{ log "cd ${CHECKOUTS}/${HOOKS_REPO} && git fetch --all && git pull" + cd ${CHECKOUTS}/${HOOKS_REPO} && git fetch --all && - git pull origin master -} || fail "Problem running fetch & pull on ${HOOKS_REPO}.git!" + git pull +} || fail "Problem running fetch & pull on ${HOOKS_REPO}!" log "\nCopying hooks into target repo (${TARGET_REPO})...\n" { log "rsync ./hooks/ $REPOS/${TARGET_REPO}.git/hooks/" && -- 1.7.0.4