Package: staden-io-lib / 1.14.11-6

remove_bashism.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Remove bashism in test script
Bug-Debian: https://bugs.debian.org/915460
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 04 Dec 2018 19:32:55 +0100

--- a/tests/scram.test
+++ b/tests/scram.test
@@ -24,7 +24,7 @@ do
 
 
     # Create BAM from SAM or SAM from BAM
-    if [ `echo $i | sed 's/\.bam//'` == $i ]
+    if [ `echo $i | sed 's/\.bam//'` = $i ]
     then
 	echo "$scramble $i $outdir/$root.bam"
 	$scramble $i $outdir/$root.bam || exit 1