From: PHO Date: Wed, 25 Jul 2012 04:41:59 +0000 (+0900) Subject: Don't pass --prefix to DISTCHECK_CONFIGURE_FLAGS. It interferes with automake. X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=autobuild.git;a=commitdiff_plain;h=76881c35722580dbae0e03fd4fb0558e6401a4b8 Don't pass --prefix to DISTCHECK_CONFIGURE_FLAGS. It interferes with automake. --- diff --git a/src/functions.bash b/src/functions.bash index a9ac44f..262c910 100644 --- a/src/functions.bash +++ b/src/functions.bash @@ -10,7 +10,6 @@ function setPrefix () { declare -a configArgs function setConfigArgs () { configArgs=( \ - --prefix="$prefix" \ PATH="$PATH" \ PKG_CONFIG_PATH="$PKG_CONFIG_PATH" \ "$@" \ diff --git a/src/main.bash b/src/main.bash index f565970..73dc7cb 100644 --- a/src/main.bash +++ b/src/main.bash @@ -15,7 +15,7 @@ function configure () { if [[ ! -f "_build/Makefile" ]]; then run mkdir -p _build run pushd _build - run ../configure "${configArgs[@]}" + run ../configure --prefix="$prefix" "${configArgs[@]}" run popd fi }