From afc3a06c561a0b3ac4c04f8123bb462f0f0dc14c Mon Sep 17 00:00:00 2001 From: Jos Houtman Date: Tue, 15 Mar 2011 13:35:06 +0100 Subject: [PATCH] mirror-shell fix: setup GL_RC; post-update needs it --- src/gl-mirror-shell | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gl-mirror-shell b/src/gl-mirror-shell index 4b4bde5..e72f4ad 100755 --- a/src/gl-mirror-shell +++ b/src/gl-mirror-shell @@ -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)