OILS / build / py2.sh View on Github | oilshell.org

14 lines, 5 significant
1# Usage: source build/py2.sh
2#
3# Duplicates build/dev-shell.sh, for _bin/shwrap stubs
4#
5# IMPORTANT: sourced by _build/oils.sh, so it must remain POSIX SHELL
6
7ROOT_WEDGE_DIR=/wedge/oils-for-unix.org
8
9# put 'python2' in $PATH
10readonly _WEDGE_PY2_DIR=$ROOT_WEDGE_DIR/pkg/python2/2.7.18/bin
11if test -d $_WEDGE_PY2_DIR; then
12 export PATH="$_WEDGE_PY2_DIR:$PATH"
13fi
14