commit: dd56c723b9354a3e9f0faec2dc8ae95552a87372 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Fri Jun 19 07:08:07 2020 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Fri Jun 19 07:08:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=dd56c723
scripts/bootstrap-prefix: only run configure if it exists In bootstrap_simple, check if there is a configure script before trying to call it. Some packages don't have a configure script like bzip2. Thanks Bob Dröge for pointing this out in bug #728682. Bug: https://bugs.gentoo.org/728682 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> scripts/bootstrap-prefix.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index c9391bf75c..d72d868a4e 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -738,7 +738,9 @@ bootstrap_simple() { fi einfo "Compiling ${A%-*}" - econf ${myconf} || return 1 + if [[ -x configure ]] ; then + econf ${myconf} || return 1 + fi v $MAKE || return 1 einfo "Installing ${A%-*}"
