summaryrefslogtreecommitdiff
path: root/BUILD/compile-pentium-debug-max-no-ndb
diff options
context:
space:
mode:
authorunknown <df@pippilotta.erinye.com>2007-04-10 17:50:43 +0200
committerunknown <df@pippilotta.erinye.com>2007-04-10 17:50:43 +0200
commit9cc4031808d8338b3c08d7d6cc947bb181f3fe55 (patch)
treeda32891006c3b365d5e08d4bf6a24a845819a68a /BUILD/compile-pentium-debug-max-no-ndb
parente6e1ce7abca03736a4c1fb187ce522ef6d817bb9 (diff)
downloadmariadb-git-9cc4031808d8338b3c08d7d6cc947bb181f3fe55.tar.gz
BUG#27701 Arguments to some compile-pentium* scripts were not properly passed to SETUP.sh. Besides the old way not working with some shells, single arguments that contained whitespace were also broken up. This patch tries to fix both errors.
BUILD/compile-pentium-debug-max-no-ndb: correctly pass arguments to sourced script BUILD/compile-pentium-debug-max: correctly pass arguments to sourced script BUILD/compile-pentium-debug: correctly pass arguments to sourced script BUILD/compile-pentium64-debug-max: correctly pass arguments to sourced script BUILD/compile-pentium64-debug: correctly pass arguments to sourced script
Diffstat (limited to 'BUILD/compile-pentium-debug-max-no-ndb')
-rwxr-xr-xBUILD/compile-pentium-debug-max-no-ndb3
1 files changed, 2 insertions, 1 deletions
diff --git a/BUILD/compile-pentium-debug-max-no-ndb b/BUILD/compile-pentium-debug-max-no-ndb
index 26ec7eacc9d..92a388f9cb9 100755
--- a/BUILD/compile-pentium-debug-max-no-ndb
+++ b/BUILD/compile-pentium-debug-max-no-ndb
@@ -1,7 +1,8 @@
#! /bin/sh
path=`dirname $0`
-. "$path/SETUP.sh" $@ --with-debug=full
+set -- "$@" --with-debug=full
+. "$path/SETUP.sh"
extra_flags="$pentium_cflags $debug_cflags $max_cflags"
c_warnings="$c_warnings $debug_extra_warnings"