Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
installer
Commits
5ccb4462
Commit
5ccb4462
authored
Jul 14, 2021
by
Paul McCarthy
🚵
Browse files
RF: need FSLDIR as well
parent
59e94c8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
fslinstaller.py
View file @
5ccb4462
...
...
@@ -1086,8 +1086,12 @@ def install_fsl(ctx, update_from=None):
printmsg
(
'Installing FSL into {}...'
.
format
(
ctx
.
destdir
))
# post-link scripts call $FSLDIR/share/fsl/sbin/createFSLWrapper
# (part of fsl/base), which will only do its thing if the following
# env vars are set
env
=
os
.
environ
.
copy
()
env
[
'FSL_CREATE_WRAPPER_SCRIPTS'
]
=
'1'
env
[
'FSLDIR'
]
=
ctx
.
destdir
Process
.
monitor_progress
(
cmd
,
output
,
ctx
.
need_admin
,
ctx
,
env
=
env
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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