#! /bin/tcsh

set PWD=`pwd`
source /u/sonmi/bin/nssdir $*
set OBJDIR=`(cd mozilla/security/nss/tests/common; gmake objdir_name)`
setenv PATH `perl /u/sonmi/bin/path_uniq -s "${PATH}:${UXDIST}/${OBJDIR}/bin"`
if ( `uname -n` == "iws-perf" ) then
    setenv LD_LIBRARY_PATH "${UXDIST}/${OBJDIR}/lib:/opt/nfast/toolkits/pkcs11"
else
    setenv LD_LIBRARY_PATH "${UXDIST}/${OBJDIR}/lib"
endif
cd $PWD
