Add local_install / local_run tools
This commit is contained in:
parent
d8c30e6a96
commit
64119bc03f
5 changed files with 137 additions and 28 deletions
10
tools/local_install.sh
Executable file
10
tools/local_install.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if [ -z "${PYTHON}" ]; then
|
||||
which python >/dev/null 2>&1 && PYTHON=$(which python)
|
||||
which python2 >/dev/null 2>&1 && PYTHON=$(which python2)
|
||||
which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
|
||||
fi
|
||||
|
||||
exec "${PYTHON}" "$(dirname $0)/local_install.py" "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue