From: dsc Date: Tue, 21 Feb 2012 22:55:24 +0000 (-0800) Subject: Hmm. X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=727bebf49128771e364ba879ff5cb7962280b849;p=kraken-ui-hooks.git Hmm. --- 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/" &&