tlakh/gitea-post-receive-hook

9 lines
109 B
Plaintext
Raw Normal View History

#!/bin/ksh
for v in $(typeset +x | egrep -v '(PATH|PWD|SHELL)'); do
unset $v
done
cd /var/www/htdocs
make