Skip to content

Commit

Permalink
format env script correctly for subsystem
Browse files Browse the repository at this point in the history
The shell script for the environments should be formated based on
the subsystem now.

Fixes conan-io#11980
  • Loading branch information
j.spijker@ultimaker.com authored and jellespijker committed Aug 30, 2022
1 parent dd2965c commit 266a301
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conans/client/subsystems.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def _windows_bash_wrapper(conanfile, command, env, envfiles_folder):
# Wrapping the inside_command enable to prioritize our environment, otherwise /usr/bin go
# first and there could be commands that we want to skip
wrapped_user_cmd = environment_wrap_command(env, envfiles_folder, command,
subsystem=subsystem,
accepted_extensions=("sh", ))
wrapped_user_cmd = _escape_windows_cmd(wrapped_user_cmd)

Expand Down

0 comments on commit 266a301

Please sign in to comment.