Skip to content

Commit 6da4860

Browse files
authored
Fall back to the cs command on PATH in the mill script (#3517)
1 parent 06e9e36 commit 6da4860

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mill

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ elif [[ "$cache_dest" == *.zip ]]; then
5353
fi
5454
fi
5555

56+
# If cs is not a valid file, fall back to the `cs` command in PATH
57+
if [ ! -f "$cs" ]; then
58+
cs="$(command -v cs)"
59+
fi
60+
5661
function to_bash_syntax {
5762
local S
5863
for S in "$@" ; do

0 commit comments

Comments
 (0)