From b5b66391a5f99abdd49138c15e3d0ecf89f5c799 Mon Sep 17 00:00:00 2001 From: cltbld Date: Fri, 10 Jun 2005 22:55:31 +0000 Subject: [PATCH] Slurp the entire multi-config.pl file and eval it as a whole to allow multi-line variable entries. git-svn-id: svn://10.0.0.236/trunk@174443 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/tinderbox/multi-tinderbox.pl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mozilla/tools/tinderbox/multi-tinderbox.pl b/mozilla/tools/tinderbox/multi-tinderbox.pl index 01cc197f095..6d9f45c7603 100755 --- a/mozilla/tools/tinderbox/multi-tinderbox.pl +++ b/mozilla/tools/tinderbox/multi-tinderbox.pl @@ -36,12 +36,13 @@ sub LoadConfig() { open CONFIG, 'multi-config.pl' or print "can't open multi-config.pl, $?\n"; - while () { - package Settings; - eval; - } - + local $/ = undef; + my $config = ; close CONFIG; + + package Settings; + eval $config; + } else { warn "Error: Need tinderbox config file, multi-config.pl\n"; exit;