Commit 9bd99fd0 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Don't assume $SHELL

parent 3129cc21
......@@ -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:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment