exec git-receive-pack with correct path
This commit is contained in:
1 parent
9fdff11687
commit
383deb2b1b
1 file changed
+5
-1
@@ -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"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user