From 2e4998b00fc5962317b858e84d3619c9137615a5 Mon Sep 17 00:00:00 2001 From: Dave Pointon Date: Fri, 24 Oct 2014 11:45:36 +0200 Subject: [PATCH] 8061924: demos target fails if users CDPATH is incorrectly set Reviewed-by: erikj --- jdk/make/CompileDemos.gmk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdk/make/CompileDemos.gmk b/jdk/make/CompileDemos.gmk index 35bf0b4a691..b82548edb7a 100644 --- a/jdk/make/CompileDemos.gmk +++ b/jdk/make/CompileDemos.gmk @@ -154,9 +154,9 @@ $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.services: \ (cd $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM && \ $(MKDIR) -p _the.tmp/META-INF/services && \ $(CP) $(DEMO_SHARE_SRC)/jfc/CodePointIM/java.awt.im.spi.InputMethodDescriptor _the.tmp/META-INF/services && \ - cd _the.tmp && \ + cd ./_the.tmp && \ $(JAR) uf $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/CodePointIM.jar META-INF/services/java.awt.im.spi.InputMethodDescriptor && \ - cd META-INF/services && \ + cd ./META-INF/services && \ $(JAR) uf $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/CodePointIM.jar java.awt.im.spi.InputMethodDescriptor) $(RM) -r $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.tmp $(TOUCH) $@