Don't attempt to chflags(1) non-existent executable.

This commit is contained in:
Ruslan Ermilov 2002-04-17 12:15:02 +00:00
parent 865fe6dbe4
commit 50c012bece
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94933

View File

@ -51,6 +51,8 @@ acutab.o log.o remote.o: Makefile
# Dirty, rotten hack. This can be removed when we are confident that there
# is no cu(1) with the schg-bit set.
beforeinstall:
.if exists(${DESTDIR}${BINDIR}/cu)
-@chflags noschg ${DESTDIR}${BINDIR}/cu
.endif
.include <bsd.prog.mk>