diff options
author | gjb <gjb@FreeBSD.org> | 2013-08-05 10:26:42 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2013-08-05 10:26:42 +0000 |
commit | a35ede59d821b3201519dfd2c5da8fb12ea33592 (patch) | |
tree | a1a8fb63c09bdb6af3be8ba3e58fb76a3be38a23 /sys/conf | |
parent | 899ab645146d3b9d10334951eb65770773ed3630 (diff) | |
download | FreeBSD-src-a35ede59d821b3201519dfd2c5da8fb12ea33592.zip FreeBSD-src-a35ede59d821b3201519dfd2c5da8fb12ea33592.tar.gz |
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)
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/newvers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index 94bfef1..c16ab0d 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -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 ;; |