exec git-receive-pack with correct path

This commit is contained in:
Andreas Litt
2015-04-23 15:17:25 +02:00
parent 3aa5231f7e
commit 5968e81b17

View File

@@ -87,7 +87,11 @@ EOF
chmod +x $PRERECEIVE_HOOK
fi
args=$*
if [[ $1 == "git-receive-pack" ]]; then
args="$1 '$APP_PATH'"
else
args=$*
fi
git-shell -c "$args"
;;