From b4014eb3176c2df0ada56762af806d5d6e201155 Mon Sep 17 00:00:00 2001 From: Donald Cheng Hong Zou Date: Fri, 3 Sep 2021 13:55:03 -0400 Subject: [PATCH] Update wgd.sh --- src/wgd.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wgd.sh b/src/wgd.sh index 2eec14c..eb0a706 100755 --- a/src/wgd.sh +++ b/src/wgd.sh @@ -20,7 +20,11 @@ help () { install_wgd(){ minimum_python_version=3.7 python_version=$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[0:2])))') - echo $python_version>$minimum_python_version + if [ $python_version \> $minimum_python_version] + then echo "true" + else + echo "false" + fi