svn commit: r253601 - head/sys/conf

Andriy Gapon avg at FreeBSD.org
Wed Jul 24 09:05:05 UTC 2013


Author: avg
Date: Wed Jul 24 09:05:04 2013
New Revision: 253601
URL: http://svnweb.freebsd.org/changeset/base/253601

Log:
  newvers.sh: fix the fallback case of git-svn detection
  
  MFC after:	5 days
  Sponsored by:	HybridCluster

Modified:
  head/sys/conf/newvers.sh

Modified: head/sys/conf/newvers.sh
==============================================================================
--- head/sys/conf/newvers.sh	Wed Jul 24 08:56:59 2013	(r253600)
+++ head/sys/conf/newvers.sh	Wed Jul 24 09:05:04 2013	(r253601)
@@ -132,7 +132,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-head mailing list