From e44416317ef7c69f4bce4cacb4a60767e4587d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Thu, 19 Jan 2017 21:40:31 +0000 Subject: build/pkg.build: run autogen.sh even if it's not +x. --- build/pkg.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/pkg.build b/build/pkg.build index 97b7adbb..5c31f778 100644 --- a/build/pkg.build +++ b/build/pkg.build @@ -84,7 +84,7 @@ if [ -e ${PKG_SUBDIR}/configure -o \ -exec install -m 0700 ${MIDIPIX_BUILD_PWD}/etc/config.sub {} \;; if [ -e ${PKG_SUBDIR}/configure.ac -a \ ! -e ${PKG_SUBDIR}/configure ]; then - if [ -x ${PKG_SUBDIR}/autogen.sh ]; then + if [ -e ${PKG_SUBDIR}/autogen.sh ]; then for __ in ${PKG_SUBDIR}/build-aux ${PKG_SUBDIR}; do if [ -e ${__} ]; then echo install -m 0700 \ @@ -96,7 +96,7 @@ if [ -e ${PKG_SUBDIR}/configure -o \ break; fi; done; - (cd ${PKG_SUBDIR} && ./autogen.sh) || exit 1; + (cd ${PKG_SUBDIR} && ${SHELL} ./autogen.sh) || exit 1; else (cd ${PKG_SUBDIR} && autoconf) || exit 1; fi; -- cgit v1.2.3