From 81f32c583a6125bd9764a4ed63c227047d96207f Mon Sep 17 00:00:00 2001 From: gord-fig Date: Thu, 22 Aug 2002 21:06:28 +0000 Subject: [PATCH] Properly quote command for tbox_absorb_log. --- lustre/tests/tbox.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lustre/tests/tbox.sh b/lustre/tests/tbox.sh index 6e1b211..337e1b8 100644 --- a/lustre/tests/tbox.sh +++ b/lustre/tests/tbox.sh @@ -74,8 +74,13 @@ tbox_exit() { # Run a subprogram, but stop it from sending its own tinderbox # messages. -tbox_dont_start_log() { - eval 'TBOX_LOG= '"$@" +tbox_absorb_log() { + # This probably doesn't do what you think it does... it only prepends + # TBOX_LOG= to our arguments. + set TBOX_LOG= "$@" + + # Now evaluate the command. + eval "$@" } # Start the log for a given tree. -- 1.8.3.1