From 1ea35577574c1236ecd18018d8c0e2bc18bf7a10 Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 21 Aug 2014 20:13:58 +0000 Subject: [PATCH] Let Windows build find VCExpress on any drive letter (mine is N) --- mswin32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mswin32/Makefile b/mswin32/Makefile index 760457645..a8e4ada31 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 -i '[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-Z]:\\' | 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 '.' ',')