svn commit: r254043 - stable/9/sys/conf

Andriy Gapon avg at FreeBSD.org
Wed Aug 7 07:38:12 UTC 2013


Author: avg
Date: Wed Aug  7 07:38:11 2013
New Revision: 254043
URL: http://svnweb.freebsd.org/changeset/base/254043

Log:
  MFC r253601: newvers.sh: fix the fallback case of git-svn detection

Modified:
  stable/9/sys/conf/newvers.sh
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/conf/   (props changed)

Modified: stable/9/sys/conf/newvers.sh
==============================================================================
--- stable/9/sys/conf/newvers.sh	Wed Aug  7 07:36:37 2013	(r254042)
+++ stable/9/sys/conf/newvers.sh	Wed Aug  7 07:38:11 2013	(r254043)
@@ -121,7 +121,7 @@ if [ -n "$git_cmd" ] ; then
 	else
 		svn=`$git_cmd log | fgrep 'git-svn-id:' | head -1 | \
 		     sed -n 's/^.*@\([0-9][0-9]*\).*$/\1/p'`
-		if [ -n $svn ] ; then
+		if [ -n "$svn" ] ; then
 			svn=" r${svn}"
 			git="+${git}"
 		else


More information about the svn-src-stable-9 mailing list