mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
pkg: refactor using PREFIX, but this time for real
This commit is contained in:
parent
b404a6fcc1
commit
27846e1b0e
@ -19,12 +19,11 @@ install:
|
||||
plist:
|
||||
.for TREE in ${TREES}
|
||||
@(cd ${TREE}; find * -type f) | while read FILE; do \
|
||||
FILE="$${FILE%%.in}"; \
|
||||
FILE="$${FILE%%.in}"; PREFIX=""; \
|
||||
if [ $${FILE%%.sample} != $${FILE} ]; then \
|
||||
echo "@sample ${ROOT}/${TREE}/$${FILE}"; \
|
||||
else \
|
||||
echo "${ROOT}/${TREE}/$${FILE}"; \
|
||||
PREFIX="@sample "; \
|
||||
fi; \
|
||||
echo "$${PREFIX}${ROOT}/${TREE}/$${FILE}"; \
|
||||
done
|
||||
.endfor
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user