svn commit: r222218 - head/sys/conf

Ruslan Ermilov ru at FreeBSD.org
Mon May 23 19:57:13 UTC 2011


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


More information about the svn-src-head mailing list