Make sure that stderr redirection works both with bash and tcsh.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8597 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/nightly/conf/georgia-tech-cellbuzz.conf b/nightly/conf/georgia-tech-cellbuzz.conf
index 8a23ce9..9561b37 100644
--- a/nightly/conf/georgia-tech-cellbuzz.conf
+++ b/nightly/conf/georgia-tech-cellbuzz.conf
@@ -10,8 +10,8 @@
cellbuzz_run_regtest() {
cd valgrind || return $?
- VGDIR=$PWD
- jobid=`echo "{ cd $VGDIR && perl tests/vg_regtest --all; } >$VGDIR/regtest-output.txt 2>&1" \
+ rm -f regtest-output.txt
+ jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" \
| /usr/pbs/bin/qsub`
echo "Job ID = ${jobid}"
while [ `/usr/pbs/bin/qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]