We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d8589e commit e5cd03cCopy full SHA for e5cd03c
bin/latest-stable
@@ -12,7 +12,7 @@ ASDF_ELIXIR_LATEST_VERSION=$(./list-all | tr " " "\n" | grep -Ev "^0|^main|^mast
12
# gets current erlang version without headers
13
# changes spaces to new line
14
# takes second line (Name Version Source Installed)
15
-if printf "0.16.0\n%s\n" $(asdf version) | sort -CV; then
+if printf "0.16.0\n%s\n" "$(asdf version)" | sort -CV; then
16
# use --no-header flag only in latest asdf API (go builds)
17
ASDF_ELIXIR_LATEST_OTP=$(asdf current --no-header erlang | tr -s " ." "\n" | sed -n 2p)
18
else
0 commit comments