file_path may have some spaces.

This commit is contained in:
DalHo Park 2016-10-27 16:24:34 +09:00
parent 0d607d73d6
commit 8e59d8de98

View File

@ -94,7 +94,7 @@ parse_asdf_version_file() {
local file_path=$1
local plugin_name=$2
if [ -f $file_path ]; then
if [ -f "$file_path" ]; then
cat $file_path | while read -r line || [[ -n "$line" ]]; do
local line_parts=($line)