Skip to content

Commit e5cd03c

Browse files
authored
Wrap $(…) with double quotes to fix CI check
1 parent 9d8589e commit e5cd03c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/latest-stable

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ASDF_ELIXIR_LATEST_VERSION=$(./list-all | tr " " "\n" | grep -Ev "^0|^main|^mast
1212
# gets current erlang version without headers
1313
# changes spaces to new line
1414
# takes second line (Name Version Source Installed)
15-
if printf "0.16.0\n%s\n" $(asdf version) | sort -CV; then
15+
if printf "0.16.0\n%s\n" "$(asdf version)" | sort -CV; then
1616
# use --no-header flag only in latest asdf API (go builds)
1717
ASDF_ELIXIR_LATEST_OTP=$(asdf current --no-header erlang | tr -s " ." "\n" | sed -n 2p)
1818
else

0 commit comments

Comments
 (0)