]> git.notmuchmail.org Git - notmuch/commitdiff
debian: override location of bash archive/debian/0.28-2 debian/0.28-2
authorDavid Bremner <david@tethera.net>
Fri, 12 Oct 2018 23:51:45 +0000 (20:51 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 12 Oct 2018 23:54:30 +0000 (20:54 -0300)
Yes, a build chroot can have /usr/bin/bash, thanks to usrmerge, but we
can't depend on it existing in the user's system.

debian/changelog
debian/rules

index e8322657f805855571f90636c05d831c58fc3baf..8f37ef3abaff0245a488909ec640fef7d3d44341 100644 (file)
@@ -1,3 +1,10 @@
+notmuch (0.28-2) unstable; urgency=medium
+
+  * Override location of bash, because /usr/bin/bash might exist
+    thanks to usrmerge.
+
+ -- David Bremner <bremner@debian.org>  Fri, 12 Oct 2018 20:54:00 -0300
+
 notmuch (0.28-1) unstable; urgency=medium
 
   * New upstream releases.
index 99d80785fb4013fc10696d4dc5e381691704365a..c8ecb1ac4e890ee4c83ffb4a27d603cb13fa7ce5 100755 (executable)
@@ -6,7 +6,7 @@ python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {}
        dh $@ --with python2,python3,elpa
 
 override_dh_auto_configure:
-       ./configure --prefix=/usr \
+       BASH=/bin/bash  ./configure --prefix=/usr \
                --libdir=/usr/lib/$$(dpkg-architecture -q DEB_TARGET_MULTIARCH) \
                --includedir=/usr/include \
                --mandir=/usr/share/man \