From 2761e728f791c0d0e757e12816285b0a3f830238 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Fri, 16 Aug 2024 02:50:54 -0400 Subject: [PATCH] Update wgd.sh --- src/wgd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wgd.sh b/src/wgd.sh index 114632e..db9fd6d 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -47,7 +47,7 @@ _check_and_set_venv(){ { $pythonExecutable -m venv $VIRTUAL_ENV; } >> ./log/install.txt fi - if ! $venv_python --version > /dev/null 2>&1 + if ! "$venv_python" --version > /dev/null 2>&1 then printf "[WGDashboard] %s Python Virtual Environment under ./venv failed to create. Halting now.\n" "$heavy_crossmark" exit 1