6962540: langtools Makefile sets DEV_NULL incorrectly
authorjjg
Fri, 18 Jun 2010 16:45:13 -0700
changeset 5854 5dc61238219e
parent 5853 4697bfeb5286
child 5855 00d9c252e60c
6962540: langtools Makefile sets DEV_NULL incorrectly Reviewed-by: ohair
langtools/make/Makefile
--- a/langtools/make/Makefile	Wed Jun 16 17:52:10 2010 -0700
+++ b/langtools/make/Makefile	Fri Jun 18 16:45:13 2010 -0700
@@ -40,15 +40,16 @@
 
 SYSTEM_UNAME := $(shell uname)
 
+# Where is unwanted output to be delivered?
+# On Windows, MKS uses the special file "NUL", cygwin uses the customary unix file.
 ifeq ($(SYSTEM_UNAME), Windows_NT)
 DEV_NULL = NUL
 else
+DEV_NULL = /dev/null 
+endif
+
 ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME)))
-DEV_NULL = NUL
 USING_CYGWIN = true
-else
-DEV_NULL = /dev/null
-endif 
 endif
 
 ifdef USING_CYGWIN