tcsh is now generated from csh, not tcsh.in

This commit is contained in:
lakata
2002-04-24 01:16:46 +00:00
parent 3d32c63533
commit 4205ac41b9

View File

@@ -1,30 +0,0 @@
if ( $?MODULE_VERSION ) then
setenv MODULE_VERSION_STACK "$MODULE_VERSION"
else
setenv MODULE_VERSION "@VERSION@"
setenv MODULE_VERSION_STACK "@VERSION@"
endif
set exec_prefix='@BASEPREFIX@$MODULE_VERSION'
if ( $?histchars ) then
set histchar = `echo $histchars | cut -c1`
set _histchars = $histchars
alias module 'unset histchars; \\
eval `'$exec_prefix'/bin/modulecmd tcsh '$histchar'*`; \\
set histchars = $_histchars'
unset histchar
else
alias module 'eval `'$exec_prefix'/bin/modulecmd tcsh \!*`'
endif
unset exec_prefix
setenv MODULESHOME @prefix@
if (! $?MODULEPATH ) then
setenv MODULEPATH `sed 's/#.*$//' ${MODULESHOME}/init/.modulespath | awk 'NF==1{printf("%s:",$1)}'`
endif
if (! $?LOADEDMODULES ) then
setenv LOADEDMODULES
endif