Skip to content

Commit

Permalink
Windows: set CHOCO=NO to not use chocolatey
Browse files Browse the repository at this point in the history
- needed when using the MSYS2 shell
  • Loading branch information
ralphlange committed Jul 22, 2024
1 parent fe29811 commit 0e93b70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cue.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ def detect_context():
ci['cachedir'] = os.environ['CACHEDIR']

if 'CHOCO' in os.environ:
ci['choco'].extend(os.environ['CHOCO'].split())
if os.environ['CHOCO'] == 'NO':
ci['choco'] = []
else:
ci['choco'].extend(os.environ['CHOCO'].split())

if 'APT' in os.environ:
ci['apt'].extend(os.environ['APT'].split())
Expand Down

0 comments on commit 0e93b70

Please sign in to comment.