Redirect svnversion stderr to /dev/null if we cannot determine
the tree version, for example if the tree is checked out with an outdated svn from ports, but the base system svnlite is built. Approved by: kib (mentor)
This commit is contained in:
parent
899ab64514
commit
a35ede59d8
@ -116,7 +116,7 @@ if [ -d "${SYSDIR}/../.git" ] ; then
|
||||
fi
|
||||
|
||||
if [ -n "$svnversion" ] ; then
|
||||
svn=`cd ${SYSDIR} && $svnversion`
|
||||
svn=`cd ${SYSDIR} && $svnversion 2>/dev/null`
|
||||
case "$svn" in
|
||||
[0-9]*) svn=" r${svn}" ;;
|
||||
*) unset svn ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user