summaryrefslogtreecommitdiffstats
path: root/build/test-env-prepare.sh
blob: 0c5bc25f116f109c4c88f4c82ba976e4d6f257e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if [ ! -f ./build/test-env-prepare.sh ]; then
  echo "${0} can only be executed in gitea source root directory"
  exit 1
fi

echo "change the owner of files to gitea ..."
chown -R gitea:gitea .