Solaris portability fix
Ferenc Wagner
wferi at afavant.elte.hu
Mon Dec 22 08:15:46 CST 2003
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
More information about the wine-patches
mailing list