summaryrefslogtreecommitdiff
path: root/lang/mercury/patches/patch-aq
blob: c0af239d5ed1a48a1269e0c4a538331605163d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-aq,v 1.2 2015/12/29 23:34:51 dholland Exp $

Remove bashisms.

--- 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`