Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run bash with -e in outputs too #4033

Merged
merged 1 commit into from
Sep 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conda_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2353,7 +2353,7 @@ def guess_interpreter(script_filename):
# Since the MSYS2 installation is probably a set of conda packages we do not
# need to worry about system environmental pollution here. For that reason I
# do not pass -l on other OSes.
extensions_to_run_commands = {'.sh': ['bash.exe', '-l'] if utils.on_win else ['bash'],
extensions_to_run_commands = {'.sh': ['bash.exe', '-el'] if utils.on_win else ['bash', '-e'],
'.bat': [os.environ.get('COMSPEC', 'cmd.exe'), '/d', '/c'],
'.ps1': ['powershell', '-executionpolicy', 'bypass', '-File'],
'.py': ['python']}
Expand Down