[metview] 03/05: Fix bashisms. Closes: #772310.

Alastair McKinstry mckinstry at moszumanska.debian.org
Mon Feb 15 05:37:33 UTC 2016


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

mckinstry pushed a commit to branch master
in repository metview.

commit 335fc6eb3143f28adefbbcbce8eba31c52651e0e
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Feb 10 22:12:38 2016 +0000

    Fix bashisms. Closes: #772310.
---
 debian/changelog                  |  1 +
 debian/patches/fix-bashisms.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f10353f..cfa4a56 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ metview (4.6.1-2) UNRELEASED; urgency=medium
   * Remove B-D on libmotif-dev as it is no longer used (Qt5 is instead)
   * Split dh_fixperms to arch and -indep parts, so dpkg-buildpackage -A
     works. Closes: #814437.
+  * Fix bashisms. Closes: #772310.
 
  -- Alastair McKinstry <mckinstry at debian.org>  Tue, 09 Feb 2016 18:03:49 +0000
 
diff --git a/debian/patches/fix-bashisms.patch b/debian/patches/fix-bashisms.patch
new file mode 100644
index 0000000..e1e44de
--- /dev/null
+++ b/debian/patches/fix-bashisms.patch
@@ -0,0 +1,27 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Remove bashisms to that we can use the dash shell
+Last-Updated: 2016-02-14
+Forwarded: no
+
+Index: metview-4.6.1/scripts/logrun
+===================================================================
+--- metview-4.6.1.orig/scripts/logrun
++++ metview-4.6.1/scripts/logrun
+@@ -31,12 +31,14 @@ else
+   # -- create log file --
+   echo "[logrun info] process $$ starting `date` with cmd:" > $MYLOG
+   echo "[logrun info] $@"                        >> $MYLOG
+-  echo "[logrun info] mode is $METVIEW_MODE\n"   >> $MYLOG
+-
++  echo "[logrun info] mode is $METVIEW_MODE"     >> $MYLOG
++  echo ""                                        >> $MYLOG
++  
+   "$@"                                           >> $MYLOG
+   SUCCESS_STATUS=$?
+ 
+-  echo "\n[logrun info] process $$ ended `date`" >> $MYLOG
++  echo ""                                        >> $MYLOG
++  echo "[logrun info] process $$ ended `date`" >> $MYLOG
+   echo "[logrun info] exit status: $SUCCESS_STATUS" >> $MYLOG
+ fi
+ 
diff --git a/debian/patches/series b/debian/patches/series
index e552c2a..5cef160 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ mv_compress.patch
 reproducible-build.patch
 fpic.patch
 hurd.patch
+fix-bashisms.patch

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



More information about the debian-science-commits mailing list