put URL specific stuff inside nscp specific loop

This commit is contained in:
bishakhabanerjee%netscape.com 2003-06-18 06:02:28 +00:00
Родитель f27fb41735
Коммит 06eeeca399
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -471,7 +471,12 @@ tbx_dirs()
echo $QASCRIPT_DIR | grep 64 >/dev/null && TBX_NOBITS=64 echo $QASCRIPT_DIR | grep 64 >/dev/null && TBX_NOBITS=64
TRD="${HOST}${TBX_NOBITS}-`date +%Y%m%d-%H.%M`" TRD="${HOST}${TBX_NOBITS}-`date +%Y%m%d-%H.%M`"
RESULTDIR="${NSS_VER_DIR}/tinderbox/tests_results/security/${TRD}" RESULTDIR="${NSS_VER_DIR}/tinderbox/tests_results/security/${TRD}"
if [ ${DOMSUF} = "mcom.com" -o ${DOMSUF} = "netscape.com" -o ${DOMSUF} = "nscp.aoltw.net" ] ; then
URL="sbs-rel.nscp.aoltw.net"
RESULTDIRURL="http://${URL}${NSS_VER_DIR}/tinderbox/tests_results/security/${TRD}" RESULTDIRURL="http://${URL}${NSS_VER_DIR}/tinderbox/tests_results/security/${TRD}"
else
RESULTDIRURL=${RESULTDIR}
fi
fi fi
TBX_DAILY_BUILD=`cd ../../../../..;pwd` TBX_DAILY_BUILD=`cd ../../../../..;pwd`
NSS_VER_DIR="${TBX_DAILY_BUILD}/../.." NSS_VER_DIR="${TBX_DAILY_BUILD}/../.."
@ -545,7 +550,7 @@ init_mcom()
######################################################################## ########################################################################
init_dirs() init_dirs()
{ {
if [ ${DOMSUF} = "mcom.com" -o ${DOMSUF} = "netscape.com" ] ; then if [ ${DOMSUF} = "mcom.com" -o ${DOMSUF} = "netscape.com" -o ${DOMSUF} = "nscp.aoltw.net"] ; then
init_mcom init_mcom
fi fi
if [ $O_WIN = "ON" ] ; then if [ $O_WIN = "ON" ] ; then