tlakh/gitea-post-receive-hook
2022-12-04 12:50:46 +01:00

9 lines
109 B
Bash
Executable File

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