Solaris portability fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Solaris' sh is not Posix compliant, it misses arithmetic
evaluation.

ChangeLog: Solaris sh portability fix.

Index: programs/winetest/maketest
===================================================================
RCS file: /home/wine/wine/programs/winetest/maketest,v
retrieving revision 1.1
diff -u -r1.1 maketest
--- programs/winetest/maketest	4 Dec 2003 02:01:39 -0000	1.1
+++ programs/winetest/maketest	22 Dec 2003 14:12:33 -0000
@@ -12,7 +12,7 @@
 i=0
 for test
 do
-    i=$(($i+1))
+    i=`expr $i + 1`
     echo "$i \"$test\""
 done
 echo "}"
@@ -20,6 +20,6 @@
 i=0
 for test
 do
-    i=$(($i+1))
+    i=`expr $i + 1`
     echo "$i USERDATA \"$test\""
 done


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux