From cdb3701c95cbe6379288c486231e71e42dca0601 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 13 May 2019 09:01:49 +0200 Subject: service: allow go to create correct environment block --- build.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.bat') diff --git a/build.bat b/build.bat index bf3b0b4a..bb3d00f6 100644 --- a/build.bat +++ b/build.bat @@ -20,7 +20,7 @@ if exist .deps\prepared goto :render rem Mirror of https://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/patch-2.5.9-7-bin.zip with fixed manifest call :download patch.zip https://download.wireguard.com/windows-toolchain/distfiles/patch-2.5.9-7-bin-fixed-manifest.zip 25977006ca9713f2662a5d0a2ed3a5a138225b8be3757035bd7da9dcf985d0a1 "--strip-components 1 bin" || goto :error echo [+] Patching go - .\patch.exe -f -N -r- -d go -p1 --binary < ..\golang-security-attribute-process-creation.patch || goto :error + for %%a in ("..\golang-*.patch") do .\patch.exe -f -N -r- -d go -p1 --binary < "%%a" || goto :error copy /y NUL prepared > NUL || goto :error cd .. || goto :error -- cgit v1.2.3-59-g8ed1b