sys-fs/e2tools: fix building when /bin/sh is not bash
authorMike Frysinger <vapier@gentoo.org>
Mon, 31 Aug 2015 22:12:20 +0000 (18:12 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 31 Aug 2015 22:13:43 +0000 (18:13 -0400)
sys-fs/e2tools/e2tools-0.0.16.ebuild

index c8ee31d713df73844dbc278d31ea19277123e37f..081fb974fa417a4398aba51b66fad15ed1b54784 100644 (file)
@@ -20,3 +20,9 @@ RDEPEND="${DEPEND}"
 src_prepare() {
        sed -i '/e2cp_LDADD/s:-L@[^@]*@::' Makefile.in || die
 }
+
+src_configure() {
+       # The configure script is ancient.
+       export CONFIG_SHELL="/bin/bash"
+       default
+}