From: mturk Date: Tue, 23 Jun 2009 16:58:48 +0000 (+0000) Subject: Fix the if/else. Thanks Konstanting for spotting that X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8309bd8ebf0d8641f9d376e4305e9f3d9d6fd690;p=tomcat7.0 Fix the if/else. Thanks Konstanting for spotting that git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@787751 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/res/tomcat.nsi b/res/tomcat.nsi index 76f691baf..c97b20a21 100644 --- a/res/tomcat.nsi +++ b/res/tomcat.nsi @@ -376,7 +376,7 @@ Function FindCpuType ; Default CPU is always x86 StrCpy $1 "x86" ExpandEnvStrings $0 "%PROCESSOR_ARCHITEW6432%" - StrCmp $0 "%PROCESSOR_ARCHITEW6432%" 0 +5 + StrCmp $0 "%PROCESSOR_ARCHITEW6432%" +5 0 StrCmp $0 "IA64" 0 +3 StrCpy $1 "i64" Goto FoundCpu