From: cascade Date: Fri, 6 May 2005 22:02:25 +0000 (+0000) Subject: wokinit.csh update ressource only X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=cda1058b90004ad3253d3ec742d8d44dd4deb1d3;p=occt-wok.git wokinit.csh update ressource only --- diff --git a/src/WOKsite/wokinit.csh b/src/WOKsite/wokinit.csh index 28dbea1..86a5a51 100755 --- a/src/WOKsite/wokinit.csh +++ b/src/WOKsite/wokinit.csh @@ -1,53 +1,6 @@ #!/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 @@ -79,6 +32,5 @@ env | grep -i tcl 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