Merge pull request #105 from namjae/master

file_path may have some spaces.
This commit is contained in:
Akash Manohar 2016-11-11 10:43:41 +05:30 committed by GitHub
commit 8fae4d2c41

View File

@ -107,7 +107,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)