[SCM] gmt branch, master, updated. upstream/4.5.5-21-gac0eb00
Francesco Paolo Lovergine
frankie at debian.org
Thu Mar 15 12:37:32 UTC 2012
The following commit has been merged in the master branch:
commit ac0eb00efe76434ecec7e42b9914c4095676e84c
Author: Francesco Paolo Lovergine <frankie at debian.org>
Date: Tue Mar 13 14:25:42 2012 +0100
Fixed #581103
diff --git a/debian/changelog b/debian/changelog
index b7bde0f..f8aa7fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,8 +17,10 @@ gmt (4.5.7-1) unstable; urgency=low
(closes: #343383)
* Added a patch kfreebsd to allow working with GNU/kFreeBSD.
(closes: #619960)
+ * Fixed bashism in psbbox.sh with patch bashism.
+ (closes: #581103)
- -- Francesco Paolo Lovergine <frankie at debian.org> Tue, 13 Mar 2012 13:47:12 +0100
+ -- Francesco Paolo Lovergine <frankie at debian.org> Tue, 13 Mar 2012 14:24:33 +0100
gmt (4.5.6-1) unstable; urgency=low
diff --git a/debian/patches/bashism b/debian/patches/bashism
new file mode 100644
index 0000000..f3a2b1c
--- /dev/null
+++ b/debian/patches/bashism
@@ -0,0 +1,13 @@
+Index: git/src/psbbox.sh
+===================================================================
+--- git.orig/src/psbbox.sh 2012-03-07 10:02:54.000000000 +0100
++++ git/src/psbbox.sh 2012-03-13 14:22:45.000000000 +0100
+@@ -25,7 +25,7 @@
+ for file in $*
+ do
+ bbox=`gs -q -dNOPAUSE -dBATCH -r720 -sDEVICE=bbox $file 2>&1 | grep '%%BoundingBox'`
+- if [ $? == 0 ] ; then
++ if [ $? -eq 0 ] ; then
+ tmpfile=`mktemp /tmp/psbbox.XXXXXX`
+ cp -f $file $tmpfile
+ sed 's/%%BoundingBox: .*$/'"$bbox/" $tmpfile > $file
diff --git a/debian/patches/series b/debian/patches/series
index 51cb808..86009cb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
# no current patches
kfreebsd
+bashism
--
Generic Mapping Tools
More information about the Pkg-grass-devel
mailing list