From 9cc4031808d8338b3c08d7d6cc947bb181f3fe55 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 10 Apr 2007 17:50:43 +0200 Subject: 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 --- BUILD/compile-pentium64-debug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'BUILD/compile-pentium64-debug') diff --git a/BUILD/compile-pentium64-debug b/BUILD/compile-pentium64-debug index 0299669f79a..1edc9827366 100755 --- a/BUILD/compile-pentium64-debug +++ b/BUILD/compile-pentium64-debug @@ -1,7 +1,8 @@ #! /bin/sh path=`dirname $0` -. "$path/SETUP.sh" $@ --with-debug=full +set -- "$@" --with-debug=full +. "$path/SETUP.sh" extra_flags="$pentium64_cflags $debug_cflags" c_warnings="$c_warnings $debug_extra_warnings" -- cgit v1.2.1