[Pcre-svn] [912] code/trunk: Remove bashism from the RunTest…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [912] code/trunk: Remove bashism from the RunTest script.
Revision: 912
          http://vcs.pcre.org/viewvc?view=rev&revision=912
Author:   ph10
Date:     2012-02-12 16:53:39 +0000 (Sun, 12 Feb 2012)


Log Message:
-----------
Remove bashism from the RunTest script.

Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/RunTest
    code/trunk/configure.ac


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2012-02-10 08:05:30 UTC (rev 911)
+++ code/trunk/ChangeLog    2012-02-12 16:53:39 UTC (rev 912)
@@ -3,9 +3,12 @@


Version 8.31
-----------------------------
+
1. Fixing a wrong JIT test case and some compiler warnings.

+2. Removed a bashism from the RunTest script.

+
Version 8.30 04-February-2012
-----------------------------


Modified: code/trunk/RunTest
===================================================================
--- code/trunk/RunTest    2012-02-10 08:05:30 UTC (rev 911)
+++ code/trunk/RunTest    2012-02-12 16:53:39 UTC (rev 912)
@@ -135,7 +135,7 @@
 support8=$?
 $sim ./pcretest -C pcre16 >/dev/null
 support16=$?
-if [ $(( $support8 + $support16 )) -eq 2 ] ; then
+if [ `expr $support8 + $support16` -eq 2 ] ; then
   test8=
   test16=-16
   if [ "$arg8" = yes -a "$arg16" != yes ] ; then


Modified: code/trunk/configure.ac
===================================================================
--- code/trunk/configure.ac    2012-02-10 08:05:30 UTC (rev 911)
+++ code/trunk/configure.ac    2012-02-12 16:53:39 UTC (rev 912)
@@ -9,9 +9,9 @@
 dnl be defined as -RC2, for example. For real releases, it should be empty.


m4_define(pcre_major, [8])
-m4_define(pcre_minor, [30])
-m4_define(pcre_prerelease, [])
-m4_define(pcre_date, [2012-02-04])
+m4_define(pcre_minor, [31])
+m4_define(pcre_prerelease, [-RC1])
+m4_define(pcre_date, [2012-02-012])

# NOTE: The CMakeLists.txt file searches for the above variables in the first
# 50 lines of this file. Please update that if the variables above are moved.