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
9bd99fd0
Commit
9bd99fd0
authored
Jul 16, 2021
by
Paul McCarthy
🚵
Browse files
TEST: Don't assume $SHELL
parent
3129cc21
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_installer.py
View file @
9bd99fd0
...
...
@@ -115,7 +115,8 @@ def check_install(homedir, destdir, version):
destdir
=
op
.
abspath
(
destdir
)
etc
=
op
.
join
(
destdir
,
'etc'
)
profile
=
inst
.
configure_shell
.
shell_profiles
.
get
(
os
.
environ
[
'SHELL'
],
None
)
shell
=
os
.
environ
.
get
(
'SHELL'
,
'sh'
)
profile
=
inst
.
configure_shell
.
shell_profiles
.
get
(
shell
,
None
)
with
indir
(
destdir
):
with
open
(
op
.
join
(
etc
,
'fslversion'
),
'rt'
)
as
f
:
...
...
Write
Preview
Markdown
is supported
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