pkg.in: more --parents

Allow placing profiles in directory like groups and lists.
This commit is contained in:
Алексей Шабалин 2019-06-17 22:33:51 +03:00 committed by Michael Shigorin
parent 262d353742
commit 8f81f3110e

View File

@ -14,7 +14,7 @@ all: | $(TARGET) $(GLOBAL_DEBUG) copy-profiles grep-archdep
copy-profiles: copy-profiles:
@if [ -n "$(THE_PROFILES)" ]; then \ @if [ -n "$(THE_PROFILES)" ]; then \
cp -at $(TARGET) -- \ cp --parents -at $(TARGET) -- \
$(addsuffix .directory,$(THE_PROFILES)); \ $(addsuffix .directory,$(THE_PROFILES)); \
fi fi