mirror-shell fix: setup GL_RC; post-update needs it

This commit is contained in:
Jos Houtman 2011-03-15 13:35:06 +01:00 committed by Sitaram Chamarty
parent 6539009cb5
commit afc3a06c56

View file

@ -16,8 +16,10 @@ if echo $SSH_ORIGINAL_COMMAND | egrep git-upload\|git-receive >/dev/null
then then
# the (special) admin post-update hook needs these, so we cheat # the (special) admin post-update hook needs these, so we cheat
export GL_RC
export GL_ADMINDIR export GL_ADMINDIR
export GL_BINDIR export GL_BINDIR
GL_RC=$( get_rc_val GL_RC)
GL_ADMINDIR=$(get_rc_val GL_ADMINDIR) GL_ADMINDIR=$(get_rc_val GL_ADMINDIR)
GL_BINDIR=$( get_rc_val GL_BINDIR) GL_BINDIR=$( get_rc_val GL_BINDIR)