git: f6fa4749f746 - stable/14 - newvers: remove references to svnliteversion

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Fri, 13 Oct 2023 15:44:19 UTC
The branch stable/14 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=f6fa4749f746e493b51eea161b0ae2a28967c32d

commit f6fa4749f746e493b51eea161b0ae2a28967c32d
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-10-02 12:16:50 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-10-13 14:13:14 +0000

    newvers: remove references to svnliteversion
    
    svnliteversion was provided by the base system copy of subversion,
    which was disabled in a2bc17474b96 ("Disable building svnlite(1) by
    default.")
    
    Reviewed by:    zlei
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D42034
    
    (cherry picked from commit 826d1446791816fcaa9be59aedc7295ffbc8d5bb)
---
 sys/conf/newvers.sh | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index bb6f3349d87b..8416d073482b 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -218,15 +218,6 @@ for dir in /usr/bin /usr/local/bin; do
 	fi
 done
 
-if [ -z "${svnversion}" ] && [ -x /usr/bin/svnliteversion ] ; then
-	/usr/bin/svnliteversion $(realpath ${0}) >/dev/null 2>&1
-	if [ $? -eq 0 ]; then
-		svnversion=/usr/bin/svnliteversion
-	else
-		svnversion=
-	fi
-fi
-
 if findvcs .git; then
 	for dir in /usr/bin /usr/local/bin; do
 		if [ -x "${dir}/git" ] ; then