From 8309bd8ebf0d8641f9d376e4305e9f3d9d6fd690 Mon Sep 17 00:00:00 2001 From: mturk Date: Tue, 23 Jun 2009 16:58:48 +0000 Subject: [PATCH] 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 --- res/tomcat.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0