Before copying README.CSW, make sure that the base directory already exists.
---
 gar/v2/gar.pkg.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gar/v2/gar.pkg.mk b/gar/v2/gar.pkg.mk
index 644f672..cb8114e 100644
--- a/gar/v2/gar.pkg.mk
+++ b/gar/v2/gar.pkg.mk
@@ -682,6 +682,7 @@ reset-merge-license:
 
 merge-README.CSW: $(WORKDIR)
        $(_DBG)if test -f $(WORKDIR)/README.CSW; then \
+               $(foreach P,$(_PKG_SPECS),mkdir -p $(PKGROOT)$(docdir)/$(call 
catalogname,$P);) \
                $(foreach P,$(_PKG_SPECS),cp $(WORKDIR)/README.CSW 
$(PKGROOT)$(docdir)/$(call catalogname,$P)/README.CSW;) \
        fi
        @$(MAKECOOKIE)
-- 
1.7.3.2

_______________________________________________
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel

Reply via email to