Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LHCb Core Software
LbEnvBootstrap
Commits
ed9ef699
Commit
ed9ef699
authored
Apr 05, 2019
by
Marco Clemencic
Browse files
Fix special case of LbEnv.csh called from tcsh login or rc
parent
b2463fad
Pipeline
#794612
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
data/LbEnv-flavour.csh
View file @
ed9ef699
...
...
@@ -16,7 +16,11 @@ if ( ! $?LBENV_SOURCED ) then
if ( -e %lbenv_root%/$_host_os/bin/activate.csh ) then
source %lbenv_root%/$_host_os/bin/activate.csh
eval `python -m LbEnv --csh --siteroot %siteroot% !:2* || echo deactivate`
if ( `history 1 | wc -l` ) then
eval `python -m LbEnv --csh --siteroot %siteroot% !:2* || echo deactivate`
else
eval `python -m LbEnv --csh --siteroot %siteroot% || echo deactivate`
endif
else
echo "Platform not supported ($_host_os)"
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment