6974005: Use of cygpath in Makefile logic needs to silence error messages
Reviewed-by: mchung
--- a/jdk/make/common/shared/Defs-windows.gmk Tue Aug 17 16:01:54 2010 -0700
+++ b/jdk/make/common/shared/Defs-windows.gmk Wed Aug 18 13:46:02 2010 -0700
@@ -89,7 +89,7 @@
$(shell $(CYGPATH_CMD) $1 2> $(DEV_NULL))
endef
define OptFullPath
-$(shell if [ "$1" != "" -a -d "$1" ]; then $(CYGPATH_CMD) "$1"; else echo "$1"; fi)
+$(shell if [ "$1" != "" -a -d "$1" ]; then $(CYGPATH_CMD) "$1" 2> $(DEV_NULL); else echo "$1"; fi)
endef
else
# Temporary until we upgrade to MKS 8.7, MKS pwd returns mixed mode path