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
This commit is contained in:
parent
02e2acce1d
commit
0dd16fd9d1
@ -38,8 +38,8 @@ trap "rm -f $tmpfile" EXIT
|
|||||||
${ECHO} creating osreldate.h from newvers.sh
|
${ECHO} creating osreldate.h from newvers.sh
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
VARS_ONLY=1
|
COPYRIGHT=$(sh ${NEWVERS_SH:=$CURDIR/../sys/conf/newvers.sh} -c) || exit 1
|
||||||
. "${NEWVERS_SH:=$CURDIR/../sys/conf/newvers.sh}" || exit 1
|
eval $(sh ${NEWVERS_SH} -V RELDATE) || exit 1
|
||||||
set -e
|
set -e
|
||||||
cat > $tmpfile <<EOF
|
cat > $tmpfile <<EOF
|
||||||
$COPYRIGHT
|
$COPYRIGHT
|
||||||
|
Loading…
Reference in New Issue
Block a user