From 76881c35722580dbae0e03fd4fb0558e6401a4b8 Mon Sep 17 00:00:00 2001 From: PHO Date: Wed, 25 Jul 2012 13:41:59 +0900 Subject: [PATCH] Don't pass --prefix to DISTCHECK_CONFIGURE_FLAGS. It interferes with automake. --- src/functions.bash | 1 - src/main.bash | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 } -- 2.40.0