From 34d82e253a2764befaaa99e7f7afc59f86dc60a1 Mon Sep 17 00:00:00 2001 From: Aaron Rohrbacher Date: Mon, 3 Jan 2022 01:10:31 -0800 Subject: [PATCH] escapes double quotes in python install user notifications regarding adding PATH --- scripts/python_installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/python_installer b/scripts/python_installer index 1c4d48b..befec43 100755 --- a/scripts/python_installer +++ b/scripts/python_installer @@ -87,11 +87,11 @@ function print_path_export_instructions() { echo_with_indentation "" echo_recommendation_message " 1. Bash:" echo_with_indentation "" - echo_recommendation_message " echo 'export PATH="${PYENV_BIN}:\$PATH"' >> $BASH_PROFILE && source $BASH_PROFILE" + echo_recommendation_message " echo 'export PATH=\"${PYENV_BIN}:\$PATH\"' >> $BASH_PROFILE && source $BASH_PROFILE" echo_with_indentation "" echo_recommendation_message " 2. Zsh:" echo_with_indentation "" - echo_recommendation_message " echo 'export PATH="${PYENV_BIN}:\$PATH"' >> $ZSHENV && source $ZSHENV" + echo_recommendation_message " echo 'export PATH=\"${PYENV_BIN}:\$PATH\"' >> $ZSHENV && source $ZSHENV" } function python_is_not_in_path() {