From: gord-fig Date: Thu, 22 Aug 2002 21:06:28 +0000 (+0000) Subject: Properly quote command for tbox_absorb_log. X-Git-Tag: 0.5.5~75 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=81f32c583a6125bd9764a4ed63c227047d96207f;p=fs%2Flustre-release.git Properly quote command for tbox_absorb_log. --- 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.