From 4b2528a3c91b8301b32b02ca80c225b4fca1f286 Mon Sep 17 00:00:00 2001 From: fyodor Date: Sun, 21 Aug 2011 21:12:08 +0000 Subject: [PATCH] make drive letter (for Windows VCExpress install path) case-insensitive. The registry key on my Win7 system uses c:\ instead of C:\ for some reason --- mswin32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mswin32/Makefile b/mswin32/Makefile index 15686578d..9b7780569 100644 --- a/mswin32/Makefile +++ b/mswin32/Makefile @@ -1,5 +1,5 @@ MAKENSIS="/cygdrive/c/Program Files/NSIS/makensis.exe" -VCEXPRESS := $(shell reg query "HKEY_CLASSES_ROOT\\Applications\\VCExpress.exe\\shell\\edit\\command" | egrep '[A-H]:\\' | cut -d\" -f2 | sed 's%\\%/%g' | tr -d '\n') +VCEXPRESS := $(shell reg query "HKEY_CLASSES_ROOT\\Applications\\VCExpress.exe\\shell\\edit\\command" | egrep -i '[A-H]:\\' | cut -d\" -f2 | sed 's%\\%/%g' | tr -d '\n') export NMAP_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_VERSION' ../nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q') export NMAP_NUM_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_NUM_VERSION' ../nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q') COMMA_VERSION=$(shell echo $(NMAP_NUM_VERSION) | tr '.' ',')