| 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 | |
| 7 | ROOT_WEDGE_DIR=/wedge/oils-for-unix.org | 
| 8 | |
| 9 | # put 'python2' in $PATH | 
| 10 | readonly _WEDGE_PY2_DIR=$ROOT_WEDGE_DIR/pkg/python2/2.7.18/bin | 
| 11 | if test -d $_WEDGE_PY2_DIR; then | 
| 12 | export PATH="$_WEDGE_PY2_DIR:$PATH" | 
| 13 | fi | 
| 14 |