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

This commit is contained in:
Jos Houtman
2011-03-21 07:51:24 +05:30
committed by Sitaram Chamarty
parent 6539009cb5
commit afc3a06c56
+2
View File
@@ -16,8 +16,10 @@ if echo $SSH_ORIGINAL_COMMAND | egrep git-upload\|git-receive >/dev/null
then
# the (special) admin post-update hook needs these, so we cheat
export GL_RC
export GL_ADMINDIR
export GL_BINDIR
GL_RC=$( get_rc_val GL_RC)
GL_ADMINDIR=$(get_rc_val GL_ADMINDIR)
GL_BINDIR=$( get_rc_val GL_BINDIR)