code.gitea.io/gitea@v1.21.7/build/test-env-prepare.sh (about) 1 #!/bin/sh 2 3 set -e 4 5 if [ ! -f ./build/test-env-prepare.sh ]; then 6 echo "${0} can only be executed in gitea source root directory" 7 exit 1 8 fi 9 10 echo "change the owner of files to gitea ..." 11 chown -R gitea:gitea .