[med-svn] [Git][med-team/staden-io-lib][master] 2 commits: Remove bashism in test script

Andreas Tille gitlab at salsa.debian.org
Tue Dec 4 18:42:21 GMT 2018


Andreas Tille pushed to branch master at Debian Med / staden-io-lib


Commits:
1f2868f0 by Andreas Tille at 2018-12-04T18:34:47Z
Remove bashism in test script

- - - - -
dd848153 by Andreas Tille at 2018-12-04T18:38:47Z
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/patches/pathmax.patch
- + debian/patches/remove_bashism.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+staden-io-lib (1.14.11-3) unstable; urgency=medium
+
+  * Remove bashism in test script
+    Closes: #915460
+
+ -- Andreas Tille <tille at debian.org>  Tue, 04 Dec 2018 19:35:00 +0100
+
 staden-io-lib (1.14.11-2) unstable; urgency=medium
 
   * Fix build on non-x86 architectures (thanks to James Bonfield


=====================================
debian/patches/pathmax.patch
=====================================
@@ -20,7 +20,7 @@ Description: define PATH_MAX in case it is not available
      int i, n;
 --- a/io_lib/cram_io.c
 +++ b/io_lib/cram_io.c
-@@ -94,6 +94,14 @@
+@@ -107,6 +107,14 @@
  #include <stdio_ext.h>
  #endif
  


=====================================
debian/patches/remove_bashism.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Remove bashism in test script
+Bug-Debian: https://bugs.debian.org/915460
+Author: Andreas Tille <tille at 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


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 pathmax.patch
 fix_fseeko.patch
 fix_non_x86.patch
+remove_bashism.patch



View it on GitLab: https://salsa.debian.org/med-team/staden-io-lib/compare/5c3fba39f428259e4f47cbab4ecacf3d8a244854...dd8481532c4a66ab2870a5bf82057cc9af0980c6

-- 
View it on GitLab: https://salsa.debian.org/med-team/staden-io-lib/compare/5c3fba39f428259e4f47cbab4ecacf3d8a244854...dd8481532c4a66ab2870a5bf82057cc9af0980c6
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20181204/483fc9fd/attachment-0001.html>


More information about the debian-med-commit mailing list