6974005: Use of cygpath in Makefile logic needs to silence error messages
authorohair
Wed, 18 Aug 2010 13:46:02 -0700
changeset 6309 d3955f70aad3
parent 6308 7d860a571385
child 6310 8affde0eeeb4
6974005: Use of cygpath in Makefile logic needs to silence error messages Reviewed-by: mchung
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