gitea: template cleanup
This commit is contained in:
parent
6591f5c4aa
commit
d9806fa464
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue