Date: Thu, 23 May 2019 17:19:05 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r348178 - head/include Message-ID: <201905231719.x4NHJ5K5026589@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu May 23 17:19:05 2019 New Revision: 348178 URL: https://svnweb.freebsd.org/changeset/base/348178 Log: Move to using newvers -c instead of VARS_ONLY=1 Use newvers.sh -c to get the copyright, and newvers.sh -V RELDATE to get the release date. Differential Revision: https://reviews.freebsd.org/D19849 Modified: head/include/mk-osreldate.sh Modified: head/include/mk-osreldate.sh ============================================================================== --- head/include/mk-osreldate.sh Thu May 23 17:19:00 2019 (r348177) +++ head/include/mk-osreldate.sh Thu May 23 17:19:05 2019 (r348178) @@ -38,8 +38,8 @@ trap "rm -f $tmpfile" EXIT ${ECHO} creating osreldate.h from newvers.sh set +e -VARS_ONLY=1 -. "${NEWVERS_SH:=$CURDIR/../sys/conf/newvers.sh}" || exit 1 +COPYRIGHT=$(sh ${NEWVERS_SH:=$CURDIR/../sys/conf/newvers.sh} -c) || exit 1 +eval $(sh ${NEWVERS_SH} -V RELDATE) || exit 1 set -e cat > $tmpfile <<EOF $COPYRIGHT
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905231719.x4NHJ5K5026589>