I've just installed 3.1.6 on IRIX/SunOS/Cray
network for testing and found this bug:
mymachine => source /opt/modules/3.1.6/init/csh
Unmatched `
Caused by error in line 18 or 20 of ...init/csh
change:
alias module 'unset histchars;set _prompt="$prompt";eval
`'$exec_prefix'/bin/modulecmd '$modules_shell \!*`;set histchars = $_histchars;
set prompt="$_prompt";unset _prompt'
else
alias module 'unset histchars;eval `'$exec_prefix'/bin/modulecmd
'$modules_shell \!*`;set histchars = $_histchars'
endif
to:
alias module 'unset histchars;set _prompt="$prompt";eval
`'$exec_prefix'/bin/modulecmd '$modules_shell' \!*`;set histchars = $_histchars;
set prompt="$_prompt";unset _prompt'
else
alias module 'unset histchars;eval `'$exec_prefix'/bin/modulecmd
'$modules_shell' \!*`;set histchars = $_histchars'
endif
Adding the appropriate " ' " makes the error go away.
Most users don't set histchars and so won't see the error when
they take the alternate path.
--
Barb Mauzy | Friends help you move.
Cray Inc. | Real friends help you move bodies.
651-605-9027 |
|