diff --git a/app-text/xmlto/xmlto-0.0.28-r1.ebuild b/app-text/xmlto/xmlto-0.0.28-r1.ebuild index 2a6d1da4312a9..2e79b5582e6f2 100644 --- a/app-text/xmlto/xmlto-0.0.28-r1.ebuild +++ b/app-text/xmlto/xmlto-0.0.28-r1.ebuild @@ -34,7 +34,7 @@ src_prepare() { src_configure() { # We don't want the script to detect /bin/sh if it is bash. - export ac_cv_path_BASH=/bin/bash + export ac_cv_path_BASH=${BASH} has_version sys-apps/util-linux || export GETOPT=getopt-long econf }