diff --git a/src/wgd.sh b/src/wgd.sh index 3891cfd..c294883 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -104,7 +104,7 @@ _installPythonVenv(){ if [ "$pythonExecutable" = "python" ]; then { sudo apt update ; sudo apt-get install -y python3-venv; printf "\n\n"; } &>> ./log/install.txt else - { sudo apt-get update; sudo apt-get install $pythonExecutable-venv; printf "\n\n"; } &>> ./log/install.txt + { sudo apt-get update; sudo apt-get install ${pythonExecutable}-venv; printf "\n\n"; } &>> ./log/install.txt fi ;; centos|fedora|redhat) @@ -140,7 +140,7 @@ _installPythonPip(){ if [ "$pythonExecutable" = "python" ]; then { sudo apt update ; sudo apt-get install -y python3-pip; printf "\n\n"; } &>> ./log/install.txt else - { sudo apt update ; sudo apt-get install -y $pythonExecutable-distutil python3-pip; printf "\n\n"; } &>> ./log/install.txt + { sudo apt update ; sudo apt-get install -y ${pythonExecutable}-distutil python3-pip; printf "\n\n"; } &>> ./log/install.txt fi ;; centos|fedora|redhat)