Skip to content

Commit

Permalink
use system python3 if project env is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Aug 20, 2021
1 parent 16d116b commit e61917a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/scram
@@ -1,6 +1,8 @@
#!/bin/bash
cmd_python3=$(which python3)
if [ "${SCRAMRT_SET}" = "" ] ; then
export SCRAMV3_BACKUP_LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=""
cmd_python3=$(env -i command -v python3)
fi
PYTHONPATH="" $(dirname $0)/scram.py "$@"
PYTHONPATH="" ${cmd_python3} $(dirname $0)/scram.py "$@"

0 comments on commit e61917a

Please sign in to comment.