gitea: template cleanup

This commit is contained in:
Michael Aldridge 2017-11-24 20:49:06 -08:00
parent 6591f5c4aa
commit d9806fa464
1 changed files with 1 additions and 5 deletions

View File

@ -37,11 +37,7 @@ make_dirs="/var/lib/gitea 0755 _gitea _gitea
conf_files="/etc/gitea.conf"
pre_build() {
path="${GOPATH}/src/${go_import_path}"
mkdir -vp "$(dirname ${path})"
ln -vfs $PWD "${path}"
cd $path
cd $GOSRCPATH
make generate
cd $wrksrc
}