summaryrefslogtreecommitdiffstats
path: root/sys/conf/newvers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/newvers.sh')
-rw-r--r--sys/conf/newvers.sh2
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 ;;
OpenPOWER on IntegriCloud