mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 04:53:28 +00:00
newvers: remove references to svnliteversion
svnliteversion was provided by the base system copy of subversion,
which was disabled in a2bc17474b
("Disable building svnlite(1) by
default.")
Reviewed by: zlei
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42034
This commit is contained in:
parent
75be7e3027
commit
826d144679
@ -218,15 +218,6 @@ for dir in /usr/bin /usr/local/bin; do
|
|||||||
fi
|
fi
|
||||||
done
|
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
|
if findvcs .git; then
|
||||||
for dir in /usr/bin /usr/local/bin; do
|
for dir in /usr/bin /usr/local/bin; do
|
||||||
if [ -x "${dir}/git" ] ; then
|
if [ -x "${dir}/git" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user