From 190e98cb9ae6436773aa06df829eb14297cf274c Mon Sep 17 00:00:00 2001 From: ph10 Date: Thu, 16 Oct 2014 16:22:44 +0000 Subject: Make scripts Solaris-compatible. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@115 6239d852-aaf2-0410-a92c-79f79f948069 --- maint/ManyConfigTests | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'maint') diff --git a/maint/ManyConfigTests b/maint/ManyConfigTests index 6192e36..a1dba03 100755 --- a/maint/ManyConfigTests +++ b/maint/ManyConfigTests @@ -80,9 +80,11 @@ fi # This function runs a single test with the set of configuration options that -# are in $opts. The source directory must be set in srcdir. +# are in $opts. The source directory must be set in srcdir. The function must +# be defined as "runtest()" not "function runtest()" in order to run on +# Solaris. -function runtest() +runtest() { rm -f $srcdir/pcre2test $srcdir/pcre2grep $srcdir/pcre2_jit_test testcount=`expr $testcount + 1` -- cgit v1.2.1