uniq(1) is not an install tool, and using it was causing

"uniq: not found" during the installworld.

Spotted by:	Roman Neuhauser
This commit is contained in:
Ruslan Ermilov 2004-10-18 22:18:23 +00:00
parent 95bc568977
commit 6bd0a54ae4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136681

View file

@ -45,8 +45,8 @@ mkmagic: apprentice.c funcs.c magic.c print.c
${CC} -DHAVE_CONFIG_H -DCOMPILE_ONLY \
-I${.CURDIR} -I${CONTRDIR} -o ${.TARGET} ${.ALLSRC}
FILEVER!= awk '$$1 == "\#define" && $$2 == "VERSION" { print $$3 }' \
${.CURDIR}/config.h | uniq
FILEVER!= awk '$$1 == "\#define" && $$2 == "VERSION" { print $$3; exit }' \
${.CURDIR}/config.h
CLEANFILES+= ${MAN}
.for mp in ${MAN}
${mp}: ${mp:C/[0-9]/man/}