From 1a80c72971b12ba86782b7882bdd321ad0cc1ae6 Mon Sep 17 00:00:00 2001 From: "sonja.mirtitsch%sun.com" Date: Fri, 5 Apr 2002 01:41:34 +0000 Subject: [PATCH] fixed a bug that had resulted in tinderbox results not always being uploaded --- security/nss/tests/qa_stage | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/security/nss/tests/qa_stage b/security/nss/tests/qa_stage index dcb02a72aa62..f0960c845d31 100755 --- a/security/nss/tests/qa_stage +++ b/security/nss/tests/qa_stage @@ -130,7 +130,7 @@ qa_stage_tbx() Echo "find from $TBX_FIND_FROM" for w in `find $TBX_FIND_FROM -name "result.html"` do - if [ ! -d $TBX_STAGE/`dirname $w` ] ; then + if [ ! -d "$TBX_STAGE/`dirname $w`" ] ; then mkdir -p $TBX_STAGE/`dirname $w` fi rm $TBX_STAGE/$w 2>/dev/null @@ -294,11 +294,15 @@ else TARPARAM=cvf fi -if [ "$DO_DQA" = "ON" && "$DO_TBX" = "ON" ] ; then + +if [ "$DO_DQA" = "ON" -a "$DO_TBX" = "ON" ] ; then + Echo "tar $TARPARAM all.tar daily_qa tinderbox" tar $TARPARAM all.tar daily_qa tinderbox elif [ "$DO_DQA" = "ON" ] ; then + Echo "tar $TARPARAM all.tar daily_qa" tar $TARPARAM all.tar daily_qa else + Echo "tar $TARPARAM all.tar tinderbox" tar $TARPARAM all.tar tinderbox fi gzip all.tar