summaryrefslogtreecommitdiff
path: root/misc/sword-modules
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-29 11:48:57 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-29 11:48:57 +0000
commit897d06aa9731645e0a7fa7c315028dcdbfa3c798 (patch)
tree485cefa9621a788f5d27ac4dcab7fc6aa9843be6 /misc/sword-modules
parentUse ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; (diff)
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.
Notes
Notes: svn path=/head/; revision=53958
Diffstat (limited to 'misc/sword-modules')
-rw-r--r--misc/sword-modules/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/sword-modules/Makefile b/misc/sword-modules/Makefile
index b6f4297eadbb..e090de95cdfd 100644
--- a/misc/sword-modules/Makefile
+++ b/misc/sword-modules/Makefile
@@ -70,12 +70,12 @@ post-install:
for i in ${MODULE_FILES}; do \
tfiles=`${EXTRACT_CMD} -Z -1 ${DISTDIR}/${DIST_SUBDIR}/$${i}`; \
for j in $${tfiles}; do \
- ${ECHO} "share/sword/$${j}" >>${TMPPLIST}; \
- if [ "`${ECHO} $${j} | ${GREP} -v mods.d`" ]; then \
+ ${ECHO_CMD} "share/sword/$${j}" >>${TMPPLIST}; \
+ if [ "`${ECHO_CMD} $${j} | ${GREP} -v mods.d`" ]; then \
dirn=`${DIRNAME} $${j}`; \
while [ "$${dirn}" -a "$${dirn}" != "." -a \
"$${dirn}" != "/" ]; do \
- if [ ! "`${ECHO} \"$${tdirs}\" | ${GREP} \"$${dirn} \"`" ]; then \
+ if [ ! "`${ECHO_CMD} \"$${tdirs}\" | ${GREP} \"$${dirn} \"`" ]; then \
tdirs="$${tdirs}$${dirn} "; \
fi; \
dirn=`${DIRNAME} $${dirn}`; \
@@ -85,8 +85,8 @@ post-install:
done; \
ksorted=`for k in $${tdirs}; do printf "%s\n" $${k}; done | ${SORT} -r -t" "`;\
for j in $${ksorted}; do \
- ${ECHO} "@dirrm share/sword/$${j}" >>${TMPPLIST}; \
+ ${ECHO_CMD} "@dirrm share/sword/$${j}" >>${TMPPLIST}; \
done; \
- ${ECHO} "@dirrm share/sword/mods.d" >>${TMPPLIST};
+ ${ECHO_CMD} "@dirrm share/sword/mods.d" >>${TMPPLIST};
.include <bsd.port.mk>