Skip to content

Commit 54fb86b

Browse files
committed
Avoid unreproducible rbconfig.rb (always use bash to build)
1 parent 909d218 commit 54fb86b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

debian/changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ruby2.3 (2.3.1-3) UNRELEASED; urgency=medium
22

33
* Replace libruby2.3-dbg with automatic dbgsym packages.
4+
* Avoid unreproducible rbconfig.rb (always use bash to build).
45

56
-- Christian Hofstaedtler <[email protected]> Mon, 06 Jun 2016 12:39:40 +0000
67

debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ configure_options += --with-dbm-type=gdbm_compat
3737
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
3838
configure_options += $(shell dpkg-buildflags --export=configure)
3939

40+
# Always build with /bin/bash, to get consistent rbconfig.rb (which embeds SHELL).
41+
export SHELL := /bin/bash
42+
4043
vtcltk=8.6
4144
configure_options += --with-tcltkversion=$(vtcltk)
4245
configure_options += --with-tclConfig-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/tcl$(vtcltk)/tclConfig.sh

0 commit comments

Comments
 (0)