Fix for go tools called from make (#568)

Fixes #567 by offloading the `$PATH` interpolation to the shell instead of letting make handle it.
Tested and works on Linux, tested and works on Windows using MSYS2/MingW64. Not tested on a pure Windows env without translation layers, but nothing was changed that would actively break it either.

Reviewed-on: https://gitea.com/gitea/tea/pulls/568
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Martin Veldwijk <riven@tae.moe>
Co-committed-by: Martin Veldwijk <riven@tae.moe>
This commit is contained in:
Martin Veldwijk
2023-08-21 22:01:15 +00:00
committed by 6543
parent 620f236723
commit e4e8eb07d2
2 changed files with 8 additions and 7 deletions

3
.gitignore vendored
View File

@ -1,5 +1,6 @@
tea
/gitea-vet[.exe]
/gitea-vet
/gitea-vet.exe
.idea/
.history/