From bbc6af247b69a6a83f5fcf336e28d2c5eb7b4d65 Mon Sep 17 00:00:00 2001
From: David Anderson <dvander@alliedmods.net>
Date: Fri, 3 Aug 2007 17:29:59 +0000
Subject: [PATCH] fixed linux being broken

---
 installer/AMXXRelease/AMXXRelease.exe | Bin 32768 -> 32768 bytes
 installer/AMXXRelease/LinuxBuilder.cs |   2 ++
 2 files changed, 2 insertions(+)

diff --git a/installer/AMXXRelease/AMXXRelease.exe b/installer/AMXXRelease/AMXXRelease.exe
index b65e8ddc9c938392cf60ad4b0db63000d59d63b8..2d619247b342a1be46d88c2aa8bfb1c1b4db401a 100755
GIT binary patch
delta 905
zcmZXTO=uHA6vyA}#tltm(<IfVMcSk(5{+GAo0_DxAAV3&A_hd#n``Mw#H5gls5BdB
zs{x^1#)~4j7eNsO8PJLzS}LO0gC;pBf*_UPL5QG&cyeZT7YPo`$8YBUfA8(iuBHi^
zCM;h=KlO4qn$z!R<%kM!5@^!^Vl8^ek3;A*nkOYxl)WlFWbFv;0__pvZH@ZS5+3Qf
zgN?9+jh-(2r{|W~o*Tr=;efOcz?Dnjhv5$VDtuc?F&rXid*2{?J-qXiqjQk%OYON~
zHbwT*(e2EcRx%L1fp+|N?ss?{wqkS70`h;C!XSa@WTS_VedMxIb`)y^tl-7K6p~>V
zeC4FWez8m`5a(xbK=i?G*x*!xqv8@o;X2J}`=Vep(JH4pd_-xgtZ^!VUz91uY25&I
zXrL^me34@by6B+-FF2XSDDcISvM>t#wv;T40_g+`WBUwFw(mJ7Gra<DEv4!E)}-8;
zESlArDS}Bes42Z@ky)C-$xgA#$xcyg@<r$^{wpoR$@b+r*}nM{s9b6$+-Ncehgg`G
zunz2bGZq~~<CN}M)JG`>lk~e_%5nOh`r({KaWp}xjeL&J2)$2XMZ&NKRp|+O1a&D5
zuYuk8JLq;+(FaI6-y?h>aTu-RXNeT5kY9<0glERuq!Y7+{A>Ylj$S1TV{W<CC3lAI
z&RsgVI9V7;iXD%Mar}zl%c!gbvz=Gz9MnVGCG&S66PXnck=0SuQpr|b00=7N)R~)T
gOB|BWPku}hYl$CBAF?;6x48u^M!flkM~^xG0`Ks*n*aa+

delta 895
zcmZXSOK1~87{~v!iJP{OG>=xR#7CQ=vC$>kM-m@xib1PHl1t4^*EY9^t<V+^LXv{j
zo^+X91jUmFv4S!MBSmOYG}4m<p`wU*C?1p?^yJBz*<CO=FpuBN|Nnj8&TOfqluF8-
zTV%hnxQARZ9_2hi9ms&U5)f@Qx&ySETqHBBOo|>~mLG~X#=F9Mkomk3KbfZ|dLGbk
zJyqHj^0%~34FYXbLv$sygVsa$)wsX}o9kUC_WJa`FV3Au`M$b+>X?|qhxzDsSyna@
zsgU4*=K-hBX)78BZ;-$TH3Svk<@j5Ues)t^bQWv<qRfS^3F5&4e3oS3xMPvi)&Y5j
zQHLLWSd~=98OLozP~xTAz6dH!v@B^8pGcZ3Ym&+cI6R!fL&CR-2FY>C7bTXln;&YZ
zN-~Sluwh9>7!5xxr3j-T853b_UqzDbdn(CHui>?&G<{#2l!zD2YRnWJ{QgByQ+nAV
zv$TpNJH@gjJ4LO@7fhH@OkYZp?aNEDeb*Au|4F#oWbELN3cSH9i0@5Vbe1GJ-LvQr
zrzq0=zYxkKzo#S6EgB%FIJK~!16P&aHB{B-<Qdl0G~PkH^?Nv7b@CCrTpQ#C`dk!r
zK9(XY^ldCb3XH@XDs_)6sF~TB>Dd|D817`oh}+}+6CTeDE@@*=UXJ!YoSd6vOXsdD
z{**3CFxv&4&wGvTZAw;W=d;yznj~K4(T7QEAy;n$2nuZc(p|EpA2B4@uL))?>ErxK
Sdo$nZR;HuOH{EDAqOQNmv9hZG

diff --git a/installer/AMXXRelease/LinuxBuilder.cs b/installer/AMXXRelease/LinuxBuilder.cs
index e70578ce..1b79386e 100755
--- a/installer/AMXXRelease/LinuxBuilder.cs
+++ b/installer/AMXXRelease/LinuxBuilder.cs
@@ -88,6 +88,7 @@ namespace AMXXRelease
 
 			Process p = Process.Start(info);
 			p.WaitForExit();
+			p.Close();
 
 			info.WorkingDirectory = PropSlashes(dir);
 			info.FileName = m_Cfg.DevenvPath();
@@ -113,6 +114,7 @@ namespace AMXXRelease
 			info.FileName = dlsym;
 			info.Arguments = file;
 			info.UseShellExecute = false;
+			info.RedirectStandardOutput = true;
 
 			p = Process.Start(info);
 			p.WaitForExit();