[DHG_packages] 01/03: ghc: In debian/rules, set SHELL to /bin/sh

Joachim Breitner nomeata at moszumanska.debian.org
Mon May 23 14:04:24 UTC 2016


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

nomeata pushed a commit to annotated tag ghc_v7.10.3-8
in repository DHG_packages.

commit c967a0b475a12316a6de6a0a19cb2a398ccad0f3
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon May 23 12:44:00 2016 +0200

    ghc: In debian/rules, set SHELL to /bin/sh
    
    as this variable is used to create the shebang in the generated wrapper
    scripts, and we don't want /bin/bash there just because whoever built the
    package is using that.
---
 p/ghc/debian/changelog | 10 ++++++++--
 p/ghc/debian/rules     |  4 ++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index 74311d6..f53ec33 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -1,10 +1,16 @@
-ghc (7.10.3-8) UNRELEASED; urgency=medium
+ghc (7.10.3-8) unstable; urgency=medium
 
+  [ Dmitry Bogatov ]
   * Use secure (https) uri in Vcs-Git field in 'debian/control'
   * Bump standards version to 3.9.8 (no changes needed)
   * Convert `debian/copyright' to dep5 format
 
- -- Dmitry Bogatov <KAction at gnu.org>  Tue, 10 May 2016 09:34:42 +0300
+  [ Joachim Breitner ]
+  * In debian/rules, set SHELL to /bin/sh, as this variable is used to create
+    the shebang in the generated wrapper scripts, and we don't want /bin/bash
+    there just because whoever built the package is using that.
+
+ -- Joachim Breitner <nomeata at debian.org>  Mon, 23 May 2016 12:44:05 +0200
 
 ghc (7.10.3-7) unstable; urgency=medium
 
diff --git a/p/ghc/debian/rules b/p/ghc/debian/rules
index 779d315..13fe877 100755
--- a/p/ghc/debian/rules
+++ b/p/ghc/debian/rules
@@ -18,6 +18,10 @@
 # ghc-cabal expects it to be available.
 export HOME = /homedoesnotexistatbuildtime
 
+# Set SHELL to /bin/sh. rules/shell-wrapper.mk uses this variable to set the
+# shebang in the generated wrapper scripts.
+export SHELL = /bin/sh
+
 # From /usr/share/doc/autotools-dev/examples/rules.gz:
 export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list