Skip to content

Commit

Permalink
scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pgavlin committed Apr 4, 2024
1 parent bd05aca commit 572e21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/BUILD.dawn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ def run_in_posix_venv(cmd):
sh.exec(f". venv/bin/activate && {cmd}")

def run_in_windows_venv(cmd):
os.exec(["powershell", "-Command", f"& {{./venv/bin/activate.ps1; {cmd}}}"])
os.exec(["powershell", "-Command", f"& {{./venv/scripts/activate.ps1; {cmd}}}"])

run_in_venv = run_in_windows_venv if host.os == "windows" else run_in_posix_venv

Expand Down

0 comments on commit 572e21a

Please sign in to comment.