#!/bin/csh -f
#
-if ( $?CASROOT ) then
- unsetenv CASROOT
-endif
-
-if ( $?TCLHOME ) then
- unsetenv TCLHOME
-endif
-
-if ( $?TCLLIBPATH ) then
- unsetenv TCLLIBPATH
-endif
-
-if ( $?HOME ) then
- unsetenv HOME
-endif
-
-if ( $?WOKHOME ) then
- unsetenv WOKHOME
-endif
-
-if ( $?WOK_LIBRARY ) then
- unsetenv WOK_LIBRARY
-endif
-
-if ( $?WOK_LIBPATH ) then
- unsetenv WOK_LIBPATH
-endif
-
-if ( $?WOK_ROOTADMDIR ) then
- unsetenv WOK_ROOTADMDIR
-endif
-
-if ( $?FACTORYHOME ) then
- unsetenv FACTORYHOME
-endif
-
-if ( $?ATLIST ) then
- unsetenv ATLIST
-endif
-
-unsetenv LD_LIBRARY_PATH
-if ( $?LD_LIBRARY_PATH ) then
- unsetenv LD_LIBRARY_PATH
-endif
-
-setenv CASROOT /dn06/cascade/tst/ros
-
set OS_NAME=`uname`
set OS_PLATFORM=""
if ( $OS_NAME == "SunOS" ) then
cd ${WOK_ROOTADMDIR}
-#printf "source ${WOKHOME}/site/CreateFactory.tcl\nCreateFactory $WOK_ROOTADMDIR OS OCC51 ros $CASROOT\nwokcd OS:OCC51:ros\nexit\n"|${TCLBIN}/tclsh
${TCLBIN}/tclsh < ${WOKHOME}/site/CreateFactory.tcl