openbsd-ports/archivers/lha/patches/patch-tests-lha-test13
alek 92cb94d553 Update to 1.14i.ac20050924
From Yozo Toda <yozo@v007.vaio.ne.jp> (MAINTAINER)
2005-12-04 17:05:50 +00:00

25 lines
457 B
Plaintext

--- tests/lha-test13.orig Tue Jul 29 14:15:43 2003
+++ tests/lha-test13 Sun Dec 4 17:40:11 2005
@@ -46,17 +46,17 @@ diff test-tmp-euc test-tmp-euc-d2/test-t
check $? $LINENO
i=0
-while ((i < 10))
+while [ $i -lt 10 ]
do
cat test-tmp-euc
- ((i = i + 1))
+ i=`expr $i + 1`
done > test-tmp-euc2
i=0
-while ((i < 10))
+while [ $i -lt 10 ]
do
cat test-tmp-sjis
- ((i = i + 1))
+ i=`expr $i + 1`
done > test-tmp-sjis2
# no convert