Commit 1ccdc90a authored by Michael Shigorin's avatar Michael Shigorin

pkg.in: more --parents

This cp(1) option has been employed already but just for the lists (and still incomplete as it didn't cover the names coming through groups mechanism); thanks sem@ for trying out groups/simply/*, failing to build an image and reporting the problem. Reported-by: 's avatarMikhail Efremov <sem@altlinux.org>
parent d053375e
......@@ -12,7 +12,7 @@ TARGET := $(BUILDDIR)/$(SUFFIX)
all: $(GLOBAL_DEBUG)
@if [ -n "$(THE_GROUPS)$(MAIN_GROUPS)" ]; then \
mkdir -p $(TARGET) && \
cp -at $(TARGET) -- \
cp --parents -at $(TARGET) -- \
$(addsuffix .directory,$(THE_GROUPS) $(MAIN_GROUPS)); \
mp-commit "$(TARGET)" "requested $(SUFFIX) copied over"; \
fi
......
......@@ -30,7 +30,7 @@ copy-lists:
copy-groups:
@if [ -n "$(THE_GROUPS)$(MAIN_GROUPS)" ]; then \
cp -at $(TARGET) -- $(THE_GROUPS) $(MAIN_GROUPS); \
cp --parents -at $(TARGET) -- $(THE_GROUPS) $(MAIN_GROUPS); \
fi
grep-archdep: a = $(ARCH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment