diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index 94bfef18264f..c16ab0d61812 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 ;;