7011382: Fix use of VS100COMNTOOLS when installed in non-default or non-space path
authorohair
Mon, 10 Jan 2011 17:00:05 -0800
changeset 8011 90caa43175fd
parent 8008 753c38f4af83
child 8012 9bba5ba6e196
7011382: Fix use of VS100COMNTOOLS when installed in non-default or non-space path Reviewed-by: prr
jdk/make/common/shared/Defs-windows.gmk
--- a/jdk/make/common/shared/Defs-windows.gmk	Wed Jan 05 14:28:58 2011 -0800
+++ b/jdk/make/common/shared/Defs-windows.gmk	Mon Jan 10 17:00:05 2011 -0800
@@ -288,8 +288,8 @@
     xVS100COMNTOOLS :="$(_program_files32)/Microsoft Visual Studio 10.0/Common7/Tools/"
     fVS100COMNTOOLS :=$(call FullPath,$(xVS100COMNTOOLS))
   else
+    xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))"
     ifneq ($(word 2,$(VS100COMNTOOLS)),)
-      xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))"
       fVS100COMNTOOLS :=$(call FullPath,$(xVS100COMNTOOLS))
     else
       fVS100COMNTOOLS :=$(xVS100COMNTOOLS)