From d9806fa4640f84985c5c1cc02e7ba5d79d1e58cf Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Fri, 24 Nov 2017 20:49:06 -0800 Subject: [PATCH] gitea: template cleanup --- srcpkgs/gitea/template | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/srcpkgs/gitea/template b/srcpkgs/gitea/template index 5542ea1f90..1226771d51 100644 --- a/srcpkgs/gitea/template +++ b/srcpkgs/gitea/template @@ -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 }