mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
Merge pull request #105 from namjae/master
file_path may have some spaces.
This commit is contained in:
commit
8fae4d2c41
@ -107,7 +107,7 @@ parse_asdf_version_file() {
|
|||||||
local file_path=$1
|
local file_path=$1
|
||||||
local plugin_name=$2
|
local plugin_name=$2
|
||||||
|
|
||||||
if [ -f $file_path ]; then
|
if [ -f "$file_path" ]; then
|
||||||
cat $file_path | while read -r line || [[ -n "$line" ]]; do
|
cat $file_path | while read -r line || [[ -n "$line" ]]; do
|
||||||
local line_parts=($line)
|
local line_parts=($line)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user