pkgsrc/lang/mercury/patches/patch-aq

27 lines
604 B
Text
Raw Normal View History

$NetBSD: patch-aq,v 1.1 2010/07/20 12:29:21 asau Exp $
--- tools/dd_speedtest.orig 2005-08-09 11:14:02.000000000 +0400
+++ tools/dd_speedtest 2010-01-11 14:29:06.000000000 +0300
@@ -49,7 +49,7 @@
done
shift `expr "$OPTIND" - 1`
-if test "$cmd" == ""; then
+if test "$cmd" = ""; then
echo $usage
exit 1
fi
@@ -61,10 +61,10 @@
count=1
while test $count -le $total_runs
do
- if test $count == 1; then
+ if test $count = 1; then
run_name="FIRST"
else
- if test $count == $total_runs; then
+ if test $count = $total_runs; then
run_name="FINAL"
else
during_cnt=`expr $count - 1`