]> OCCT Git - occt-wok.git/commitdiff
wokinit.csh update ressource only
authorcascade <cascade@opencascade.com>
Fri, 6 May 2005 22:02:25 +0000 (22:02 +0000)
committercascade <cascade@opencascade.com>
Fri, 6 May 2005 22:02:25 +0000 (22:02 +0000)
src/WOKsite/wokinit.csh

index 28dbea1fa277155a918fdb1d99a309519f6c8e31..86a5a5120a7bdfc9bca2561f3c44d58be137b2c7 100755 (executable)
@@ -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