Skip to content

Commit

Permalink
prevent word splitting in bash completion script
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Markeffsky committed Dec 6, 2023
1 parent 862e53a commit 5853e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/cargo.bashcomp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,12 @@ _get_names_from_array()
line=${line##*=}
line=${line%%\"}
line=${line##*\"}
names+=($line)
names+=("$line")
fi
fi

last_line=$line
done < $manifest
done < "$manifest"
echo "${names[@]}"
}

Expand Down

0 comments on commit 5853e99

Please sign in to comment.