From c898fd637d890f960ce39531a560f99462a22476 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Tue, 23 Jul 2002 00:56:52 +0000 Subject: [PATCH] Add '+FreeBSD' to the version string, to reflect that this program bears little relationship to the one from LBL with the same name and version number. --- contrib/traceroute/VERSION | 3 ++- usr.sbin/traceroute/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/traceroute/VERSION b/contrib/traceroute/VERSION index 1892b9267677..15271046d0a7 100644 --- a/contrib/traceroute/VERSION +++ b/contrib/traceroute/VERSION @@ -1 +1,2 @@ -1.3.2 +1.3.2+FreeBSD +$FreeBSD$ diff --git a/usr.sbin/traceroute/Makefile b/usr.sbin/traceroute/Makefile index bdd65b433623..2342c5b243dd 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