Windows: Fix perl string equality for Debug Builds
authorTony Acero <tony.acero@gmail.com>
Sat, 14 Sep 2013 01:42:25 +0000 (21:42 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 14 Sep 2013 02:18:57 +0000 (22:18 -0400)
Use "eq" and not "=~"

Change-Id: Iac38ff9859ab40fc30aba0df90956b6029c04cb6

include/NTMakefile

index 900c7afa0ac60f185601c0e1e35786b1a4400b75..5fb1eb92feaee2a55fd16b570a6b09a0dbcf8c78 100644 (file)
@@ -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 {