Fix "test" portability.

This commit is contained in:
Aleksej Saushev 2013-09-01 15:56:45 +00:00 committed by Thomas Klausner
parent 0a2b582784
commit c9de967a63
2 changed files with 15 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.3 2013/09/01 15:48:08 asau Exp $
$NetBSD: distinfo,v 1.4 2013/09/01 15:56:45 asau Exp $
SHA1 (bowtie/v1.0.0.tar.gz) = 33e854d71be55542ce9039f96ae0771739d3ec73
RMD160 (bowtie/v1.0.0.tar.gz) = 405702fc2767aae81e0812aaf31ae9a7196e3c4b
Size (bowtie/v1.0.0.tar.gz) = 7814011 bytes
SHA1 (patch-Makefile) = 14299987b2a6e2896742e8736e2047b16b43d3c8
SHA1 (patch-scripts_random__bowtie__tests.sh) = 999abd0f6f092b24957c343a4bdac9d3d7cc4003

View file

@ -0,0 +1,13 @@
$NetBSD: patch-scripts_random__bowtie__tests.sh,v 1.1 2013/09/01 15:56:45 asau Exp $
--- scripts/random_bowtie_tests.sh.orig 2013-04-18 19:33:39.000000000 +0000
+++ scripts/random_bowtie_tests.sh
@@ -7,7 +7,7 @@ else
shift
fi
-if [ "$1" == "-c" ] ; then
+if [ "$1" = "-c" ] ; then
rm -f bowtie bowtie-debug bowtie-build-debug bowtie-inspect-debug
shift
fi