Skip to content

Commit e77120c

Browse files
committed
;tools:Justfile: specify (and require) bash as default shell [#2527]
This ensures just scripts are using a known shell, rather than just `sh` which varies by system.
1 parent 225a689 commit e77120c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ JUST_HELPERS: help
4242
# ($VAR makes just code more like shell code;
4343
# {{ VAR }} handles spaces better and is fully evaluated in -n/--dry-run output.)
4444
set export := true
45+
set shell := ["bash", "-uc"]
4546

4647
# and/or: -q --bell --stop-timeout=1
4748

0 commit comments

Comments
 (0)