make/CreateJmods.gmk
changeset 47735 45af799ceb6a
parent 47253 92fd0e04e0e1
child 48069 a358ebcfacfb
--- a/make/CreateJmods.gmk	Mon Nov 13 15:54:20 2017 +0100
+++ b/make/CreateJmods.gmk	Mon Nov 13 16:32:30 2017 +0100
@@ -80,8 +80,8 @@
 endif
 
 LEGAL_NOTICES := \
-    $(SUPPORT_OUTPUTDIR)/modules_legal/java.base \
-    $(call FindModuleLegalDirs, $(MODULE)) \
+    $(call uniq, $(SUPPORT_OUTPUTDIR)/modules_legal/java.base \
+    $(call FindModuleLegalDirs, $(MODULE))) \
     #
 
 LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))