[med-svn] [SCM] tophat branch, master, updated. debian/1.4.1-1-18-g2da90d0

Andreas Tille tille at debian.org
Mon May 7 07:01:45 UTC 2012


The following commit has been merged in the master branch:
commit 2da90d06c0be57fbe4ef051c7c035447b09ee127
Author: Andreas Tille <tille at debian.org>
Date:   Mon May 7 09:01:07 2012 +0200

    Fix bashism in shell script. UNTESTED - PLEASE TEST

diff --git a/debian/changelog b/debian/changelog
index 4cad410..ee78d78 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 tophat (2.0.0-2) UNRELEASED; urgency=low
 
   * debian/upstream: BibTeX conform author syntax
+  * debian/patces/bashism_in_shell_script.patch: Fix bashism in shell script
+    Closes: #671813
 
  -- Andreas Tille <tille at debian.org>  Sun, 06 May 2012 13:26:38 +0200
 
diff --git a/debian/patches/bashism_in_shell_script.patch b/debian/patches/bashism_in_shell_script.patch
new file mode 100644
index 0000000..2e79ad6
--- /dev/null
+++ b/debian/patches/bashism_in_shell_script.patch
@@ -0,0 +1,18 @@
+Author: Andreas Tille <tille at debian.org>
+Bug-Closed: http://bugs.debian.org/671813
+Descriptions: Remove bashism from shell script
+
+--- tophat.orig/src/tophat2.in
++++ tophat/src/tophat2.in
+@@ -1,9 +1,9 @@
+ #!/bin/sh
+ prefix="__PREFIX__"
+ pbin=""
+-if [[ -z $prefix ]]; then
++if [ "$prefix" = "" ]; then
+    fl=$(readlink $0)
+-   if [[ -z $fl ]]; then
++   if [ "$fl" = "" ]; then
+      pbin=$(dirname $0)
+    else
+      pbin=$(dirname $fl)
diff --git a/debian/patches/series b/debian/patches/series
index 9f30ee6..18fe133 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix_includes_path.patch
+bashism_in_shell_script.patch

-- 
A spliced read mapper for RNA-Seq



More information about the debian-med-commit mailing list