Skip to content

Commit

Permalink
chore(distribution): Fix PATH modification to allow for spaces (vecto…
Browse files Browse the repository at this point in the history
…rdotdev#18294)

Closes: vectordotdev#18291

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko authored Aug 17, 2023
1 parent 7952bfb commit aed8224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ install_from_archive() {
printf " ✓\n"

if [ "$modify_path" = "yes" ]; then
local _path="export PATH=$PATH:$prefix/bin"
local _path="export PATH=\"$PATH:$prefix/bin\""
add_to_path "${HOME}/.zprofile" "${_path}"
add_to_path "${HOME}/.profile" "${_path}"
fi
Expand Down

0 comments on commit aed8224

Please sign in to comment.