add missing flag prefix --

This commit is contained in:
AJ ONeal 2019-05-31 20:06:31 -06:00
parent 23a8c22b56
commit 1cbe371e03
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ sudo bash -c "cat << EOF > ${my_repo}/hooks/post-receive
mkdir -p '${my_deploy}'
# always deploys from the default (master) branch
git --work-tree='${my_deploy}' --git-dir='${my_repo}' checkout -f
echo Deployed branch "'$(git rev-parse abbrev-ref HEAD)'" to '${my_deploy}'
echo Deployed branch "'$(git rev-parse --abbrev-ref HEAD)'" to '${my_deploy}'
EOF
"