juh2
1
This isn’t a hugo issue, but maybe some of you ran into the same error and can shed some light on this.
I setup deployment of a hugo site with git commit hooks as described here on a shared webspace:
Everything works as expected but I always get this error message after execution of post-receive:
post-receive: line 1: –: command not found
Any hints?
juh2
2
A typo, instead of trap - EXIT
I copied the a wrong trap – EXIT
from the Tutorial.
1 Like