[DebianGIS-dev] Bug#589789: gpsdrive-scripts: geo-code should use /bin/bash

Bilal Akhtar bilal.akhtar96 at gmail.com
Wed Jul 21 04:39:12 UTC 2010


Package: gpsdrive-scripts
Severity: normal

Script geo-code should use /bin/bash rather than /bin/sh, as
reported on https://bugs.edge.launchpad.net/ubuntu/+source/gpsdrive/+bug/325288
Attached patch fixes this issue.


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-23-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
=== modified file 'debian/changelog'
--- debian/changelog	2010-04-16 11:31:32 +0000
+++ debian/changelog	2010-07-05 15:45:40 +0000
@@ -1,3 +1,10 @@
+gpsdrive (2.10~pre4-6.dfsg-3ubuntu5) lucid; urgency=low
+
+  * scripts/geo-code: Changed executing environment from /bin/sh
+    to /bin/bash (LP: #325288)
+
+ -- Bilal Akhtar <bilalakhtar96 at yahoo.com>  Mon, 05 Jul 2010 13:50:55 +0300
+
 gpsdrive (2.10~pre4-6.dfsg-3ubuntu4) lucid; urgency=low
 
   * debian/control: Rebuild with libmysqlclient16-dev.

=== modified file 'debian/patches/00list'
--- debian/patches/00list	2009-06-11 19:26:06 +0000
+++ debian/patches/00list	2010-07-05 15:45:40 +0000
@@ -18,3 +18,4 @@
 100-fix-insecure-tempfiles
 101-signalposreq
 102-unittest
+103-lp-325288

=== added file 'debian/patches/103-lp-325288.dpatch'
--- debian/patches/103-lp-325288.dpatch	1970-01-01 00:00:00 +0000
+++ debian/patches/103-lp-325288.dpatch	2010-07-05 15:45:40 +0000
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 103-lp-325288.dpatch by Bilal Akhtar <bilalakhtar96 at yahoo.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This patch fixes launchpad bug 325288 by changing the runtime
+## DP: environment of file scripts/geo-code from /bin/sh to /bin/bash.
+
+ at DPATCH@
+diff -urNad gpsdrive~/scripts/geo-code gpsdrive/scripts/geo-code
+--- gpsdrive~/scripts/geo-code	2010-07-05 13:13:11.334553356 +0300
++++ gpsdrive/scripts/geo-code	2010-07-05 13:13:19.202560140 +0300
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ 
+ #
+ #	geo-code: Convert a street address into a latitude/longitude



More information about the Pkg-grass-devel mailing list