Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2011 19:57:12 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r222218 - head/sys/conf
Message-ID:  <201105231957.p4NJvCh1035363@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ru
Date: Mon May 23 19:57:12 2011
New Revision: 222218
URL: http://svn.freebsd.org/changeset/base/222218

Log:
  expr -> sh arithmetic expansion

Modified:
  head/sys/conf/newvers.sh

Modified: head/sys/conf/newvers.sh
==============================================================================
--- head/sys/conf/newvers.sh	Mon May 23 19:32:02 2011	(r222217)
+++ head/sys/conf/newvers.sh	Mon May 23 19:57:12 2011	(r222218)
@@ -139,4 +139,4 @@ int osreldate = ${RELDATE};
 char kern_ident[] = "${i}";
 EOF
 
-echo `expr ${v} + 1` > version
+echo $((v + 1)) > version



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105231957.p4NJvCh1035363>