Skip to content

Commit

Permalink
Closes #1277 (#1278)
Browse files Browse the repository at this point in the history
Defaults to using python as the command name.
  • Loading branch information
alfoa authored Jul 17, 2020
1 parent e2f5c20 commit fb9d960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions scripts/establish_conda_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,7 @@ if [ -z $PYTHON_COMMAND ];
then
# check the RC file first
PYTHON_COMMAND=$(read_ravenrc "PYTHON_COMMAND")
local_py_command=python3
if ! python_com="$(type -p python3)" || [[ -z $python_com ]]; then
local_py_command=python
fi
local_py_command=python
#If not found through the RC file, will be empty string, so default python
PYTHON_COMMAND=${PYTHON_COMMAND:=$local_py_command}
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/library_report
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
from __future__ import print_function
import sys, os, subprocess, re

Expand Down

0 comments on commit fb9d960

Please sign in to comment.