mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
exec git-receive-pack with correct path
This commit is contained in:
@@ -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"
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user