tlakh/gitea-post-receive-hook

9 lines
114 B
Bash
Executable File

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