pkgsrc/lang/mercury/patches/patch-aq
2015-12-29 23:34:43 +00:00

28 lines
626 B
Text

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