Skip to content

Commit

Permalink
chore(distribution): Fix PATH modification to allow for spaces
Browse files Browse the repository at this point in the history
Closes: #18291

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko committed Aug 17, 2023
1 parent fb5f099 commit f1846fd
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 f1846fd

Please sign in to comment.