diff options
Diffstat (limited to 'usr.sbin/traceroute/Makefile')
-rw-r--r-- | usr.sbin/traceroute/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/traceroute/Makefile b/usr.sbin/traceroute/Makefile index bdd65b4..2342c5b 100644 --- a/usr.sbin/traceroute/Makefile +++ b/usr.sbin/traceroute/Makefile @@ -35,7 +35,8 @@ CFLAGS+= -I${TRACEROUTE_DISTDIR}/lbl version.c: ${TRACEROUTE_DISTDIR}/VERSION @rm -f ${.TARGET} - sed -e 's/.*/char version[] = "&";/' ${TRACEROUTE_DISTDIR}/VERSION \ + head -1 ${TRACEROUTE_DISTDIR}/VERSION | \ + sed -e 's/.*/char version[] = "&";/' \ > ${.TARGET} .include <bsd.prog.mk> |