exec git-receive-pack with correct path

This commit is contained in:
Andreas Litt authored and Michael Hobbs committed 2015-04-25 10:01:01 -07:00
1 parent 9fdff11687
commit 383deb2b1b
1 file changed
+5 -1
+5 -1
View File
@@ -87,7 +87,11 @@ EOF
chmod +x $PRERECEIVE_HOOK chmod +x $PRERECEIVE_HOOK
fi fi
args=$* if [[ $1 == "git-receive-pack" ]]; then
args="$1 '$APP_PATH'"
else
args=$*
fi
git-shell -c "$args" git-shell -c "$args"
;; ;;