aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-12-19 12:53:45 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-12-19 12:53:45 +0100
commitc0298b06e5b58ed8b177c39354a0c3f8b1b88263 (patch)
tree0ce83fee573a8875b70452186cfd818e8ebcec12 /contrib
parentb798f9bab99891cbc779f1c05502b76f8b7d3cea (diff)
contrib: Make X=Y arguments work in install_db4
Trailing X=Y arguments are supposed to be passed through unchanged to bdb's configure. This was not the case, at least with OpenBSD 6.2's shell. Fix this by not storing the arguments in a temporary variable but passing "$@" through directly.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/install_db4.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/install_db4.sh b/contrib/install_db4.sh
index 7cfbf9ffb3..909fa2eabe 100755
--- a/contrib/install_db4.sh
+++ b/contrib/install_db4.sh
@@ -17,7 +17,6 @@ expand_path() {
}
BDB_PREFIX="$(expand_path ${1})/db4"; shift;
-BDB_EXTRA_CONFIGURE_FLAGS="${@}"
BDB_VERSION='db-4.8.30.NC'
BDB_HASH='12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef'
BDB_URL="https://download.oracle.com/berkeley-db/${BDB_VERSION}.tar.gz"
@@ -70,7 +69,7 @@ cd build_unix/
"${BDB_PREFIX}/${BDB_VERSION}/dist/configure" \
--enable-cxx --disable-shared --with-pic --prefix="${BDB_PREFIX}" \
- "${BDB_EXTRA_CONFIGURE_FLAGS}"
+ "${@}"
make install