Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Al-Saffar committed Nov 19, 2023
1 parent ca8a90a commit e101cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myresources/crocodile/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def run_script(self, script: str, shell: SHELLS = "default", verbose: bool = Fal
tmp_file = P.tmpfile(name="tmp_shell_script", suffix=".ps1" if self.machine == "Windows" else ".sh", folder="tmp_scripts").write_text(script, newline={"Windows": None, "Linux": "\n"}[self.machine])
if shell == "default":
if self.machine == "Windows": start_cmd = "powershell" # default shell on Windows is cmd which is not very useful. (./source is not available)
else: start_cmd = "bash -c source"
else: start_cmd = "bash"
else: start_cmd = shell
if verbose:
from machineconfig.utils.utils import print_programming_script
Expand Down

0 comments on commit e101cc7

Please sign in to comment.