Skip to content

Commit 2062f65

Browse files
committed
Improve handling of paths with spaces
1 parent f716e9f commit 2062f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bin/latest-stable

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1010
# reject release candidates
1111
# reject empty line
1212
# finally take last one
13-
ASDF_ELIXIR_LATEST_VERSION=$($SCRIPT_DIR/list-all | tr " " "\n" | grep -Ev "^0|^main|^master|otp|rc|^$" | tail -n 1)
13+
ASDF_ELIXIR_LATEST_VERSION=$("$SCRIPT_DIR/list-all" | tr " " "\n" | grep -Ev "^0|^main|^master|otp|rc|^$" | tail -n 1)
1414

1515
# gets current erlang version without headers
1616
# changes spaces to new line

0 commit comments

Comments
 (0)