Skip to content

Commit

Permalink
V1.18.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jgyates committed Oct 14, 2023
1 parent 68fa521 commit ae2b494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion genmonmaint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function checkmanagedpackages() {
# create the virtual environment
echo "Creating virtual python environmnet for genmon"
$pythoncommand -m venv genenv
pythoncommand="./genenv/bin/python"
pythoncommand="$genmondir/genenv/bin/python"
fi
}

Expand Down
4 changes: 2 additions & 2 deletions startgenmon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ managedpackages=false
function env_activate() {

if [ "$managedpackages" = true ] ; then
source genenv/bin/activate
source $genmondir/genenv/bin/activate
fi
}
#-------------------------------------------------------------------------------
Expand All @@ -35,7 +35,7 @@ function checkmanagedpackages() {
managedfile="/usr/lib/python$pythonmajor.$pythonminor/EXTERNALLY-MANAGED"

if [ -f $managedfile ]; then
pythoncommand="./genenv/bin/python"
pythoncommand="$genmondir/genenv/bin/python"
managedpackages=true
echo "using binary: $pythoncommand"
fi
Expand Down

0 comments on commit ae2b494

Please sign in to comment.