Commit 940191d8 authored by Franco Fichtner's avatar Franco Fichtner

pkg: setting PREFIX did not do anything

parent 7806839b
......@@ -19,11 +19,12 @@ install:
plist:
.for TREE in ${TREES}
@(cd ${TREE}; find * -type f) | while read FILE; do \
FILE="$${FILE%%.in}"; PREFIX=""; \
FILE="$${FILE%%.in}"; \
if [ $${FILE%%.sample} != $${FILE} ]; then \
PREFIX="@sample "; \
echo "@sample ${ROOT}/${TREE}/$${FILE}"; \
else \
echo "${ROOT}/${TREE}/$${FILE}"; \
fi; \
echo "${PREFIX} ${ROOT}/${TREE}/$${FILE}"; \
done
.endfor
......
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