Trim " " at the beginning of version string to follow the change

in rev.1.60 of newvers.sh.

-const char sccs[] = "@(#)${fullversion}";
+const char sccs[] = "@(#)" ${fullversion_source};
This commit is contained in:
nakayama 2014-11-07 12:34:14 +00:00
parent 9bc869e75d
commit ecc7cc9066
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.kern.inc,v 1.178 2014/11/06 12:02:59 uebayasi Exp $
# $NetBSD: Makefile.kern.inc,v 1.179 2014/11/07 12:34:14 nakayama Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@ -249,7 +249,7 @@ LINKFLAGS?= ${LINKFORMAT} ${LINKTEXT} ${LINKDATA} ${LINKENTRY} \
LINKFLAGS_DEBUG?= -X
SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/\\.*//' vers.c; \
SYSTEM_LD_TAIL?=@${TOOL_SED} '/const char sccs/!d;s/.*@(.)//;s/" "//;s/\\.*//' vers.c; \
${SIZE} $@; chmod 755 $@; \
${SYSTEM_CTFMERGE}
SYSTEM_LD_TAIL_DEBUG?=; \