# HG changeset patch # User ohair # Date 1282164362 25200 # Node ID d3955f70aad35808c1ffddbe62c29a4116597a9a # Parent 7d860a571385693ddd002520d08d2c96d984801f 6974005: Use of cygpath in Makefile logic needs to silence error messages Reviewed-by: mchung diff -r 7d860a571385 -r d3955f70aad3 jdk/make/common/shared/Defs-windows.gmk --- 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