Update of /cvsroot/env-switcher/env-switcher/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14179/src
Modified Files:
switcher.tcl.in
Log Message:
s/switcher-reload/switcher_reload/ because at least some versions of
sh / bash don't like that because module's "alias" command will make
that the name of a shell subroutine. Sigh.
Index: switcher.tcl.in
===================================================================
RCS file: /cvsroot/env-switcher/env-switcher/src/switcher.tcl.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** switcher.tcl.in 8 Mar 2004 17:45:23 -0000 1.14
--- switcher.tcl.in 14 May 2004 02:43:21 -0000 1.15
***************
*** 76,80 ****
# be what the current switcher settings are.
! set-alias switcher-reload "cd @SWITCHER_PKGDATADIR@ > /dev/null ; module unload */* ; module load switcher ; cd - > /dev/null"
# If we're not removing the module, call switcher to announce what
--- 76,80 ----
# be what the current switcher settings are.
! set-alias switcher_reload "cd @SWITCHER_PKGDATADIR@ > /dev/null ; module unload */* ; module load switcher ; cd - > /dev/null"
# If we're not removing the module, call switcher to announce what
|