[xmds2] 01/01: Add patch operator-bashism.patch

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Sat Jan 4 00:11:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch master
in repository xmds2.

commit 22731fc70592ee37cbd29073ce042cf73005c67d
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sat Jan 4 01:09:58 2014 +0100

    Add patch operator-bashism.patch
---
 debian/changelog                      |  1 +
 debian/patches/operator-bashism.patch | 15 +++++++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 72a2d10..4657f79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ xmds2 (2.1.4-1) UNRELEASED; urgency=low
   * debian/copyright: DEPS-5-compliant
   * debian/docs: Drop the COPYRIGHT file (redundant with debian/copyright)
   * New patch interpreter-name-in-shebang.patch
+  * New patch operator-bashism.patch
 
  --
 
diff --git a/debian/patches/operator-bashism.patch b/debian/patches/operator-bashism.patch
new file mode 100644
index 0000000..5b5770d
--- /dev/null
+++ b/debian/patches/operator-bashism.patch
@@ -0,0 +1,15 @@
+Description: Fix a bashism in boolean operator
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2014-01-03
+
+--- xmds2-2.1.4.orig/xpdeint/version.sh
++++ xmds2-2.1.4/xpdeint/version.sh
+@@ -8,7 +8,7 @@ elif [ -d "../.git" ]; then
+   REVISION=\""r`git log -1 | sed -n 's/.*xpdeint@\([0-9]*\).*/\1/p'`"\"
+   # If we don't have a revision, then we must have git commits after the last SVN revision.
+   # So mark the revision number as the last SVN revision with '+git' appended.
+-  if [ "$REVISION" == "\"r\"" ]; then
++  if [ "$REVISION" = "\"r\"" ]; then
+     REVISION=\""r`git log | grep git-svn-id | head -1 | sed -n 's/.*xpdeint@\([0-9]*\).*/\1/p'`+git"\"
+   fi
+ elif [ -f "Version.py" ]; then
diff --git a/debian/patches/series b/debian/patches/series
index 59c9776..7543332 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 interpreter-name-in-shebang.patch
+operator-bashism.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xmds2.git



More information about the debian-science-commits mailing list