From b9d7e33a2f12c123e9f0579635f0ec54501c59ef Mon Sep 17 00:00:00 2001 From: Tony Acero Date: Fri, 13 Sep 2013 21:42:25 -0400 Subject: [PATCH] Windows: Fix perl string equality for Debug Builds Use "eq" and not "=~" Change-Id: Iac38ff9859ab40fc30aba0df90956b6029c04cb6 --- include/NTMakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/NTMakefile b/include/NTMakefile index 900c7afa0..5fb1eb92f 100644 --- a/include/NTMakefile +++ b/include/NTMakefile @@ -1,4 +1,4 @@ -######################################################################## +git ######################################################################## # # Copyright (c) 2009, Secure Endpoints Inc. # All rights reserved. @@ -86,7 +86,7 @@ while(<>) { if ("$(VER_PRERELEASE)") { print "#define VER_PRERELEASE 1\n"; } if ("$(VER_PRIVATE)") { print "#define VER_PRIVATE \"$(VER_PRIVATE)\"\n"; } if ("$(VER_SPECIAL)") { print "#define VER_SPECIAL \"$(VER_SPECIAL)\"\n"; } - if ("$(BUILD)" =~ "dbg") { print "#define VER_DEBUG 1\n"; } + if ("$(BUILD)" eq "dbg") { print "#define VER_DEBUG 1\n"; } print "#define HOST \"$(COMPUTERNAME)\"\n"; } else {