diff options
author | tim@cane.mysql.fi <> | 2000-12-18 23:55:47 +0200 |
---|---|---|
committer | tim@cane.mysql.fi <> | 2000-12-18 23:55:47 +0200 |
commit | 4656daa6e4003bea77a57517a439450c3bd17df5 (patch) | |
tree | 841c4965249415833302f0623314c30408562bee /BUILD/FINISH.sh | |
parent | 27bb0863481097f1cc192c178a453a704d4bc364 (diff) | |
download | mariadb-git-4656daa6e4003bea77a57517a439450c3bd17df5.tar.gz |
Pass arguements to the build script on to configure.
Diffstat (limited to 'BUILD/FINISH.sh')
-rw-r--r-- | BUILD/FINISH.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/BUILD/FINISH.sh b/BUILD/FINISH.sh index 39a3dc3f7ef..625802f78cb 100644 --- a/BUILD/FINISH.sh +++ b/BUILD/FINISH.sh @@ -1,6 +1,10 @@ cflags="$c_warnings $extra_flags" cxxflags="$cxx_warnings $base_cxxflags $extra_flags" configure="./configure $base_configs $extra_configs" +for arg in "$@"; do + configure="$configure "`echo "$arg" | sed -e 's,\([^a-zA-Z0-9_.-]\),\\\\\1,g'` +done + CFLAGS="$cflags" CXX=gcc CXXFLAGS="$cxxflags" eval "$configure" |