Debian Codegraph @

07p/bin/auto

raw symbols ◀ ▶
Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 #! /bin/sh
2 if [ -z "$AUTO_DIR" ]; then
3 AUTO_DIR=/usr/lib/auto-07p
4 # don't export AUTO_DIR: Python code will use more reliable absolute path
5 fi
6
7 if test "`uname`" = "Darwin"; then
8 if which pythonw > /dev/null; then
9 exec pythonw "$AUTO_DIR/python/auto/interactiveBindings.py" ${1+"$@"};
10 fi
11 fi
12
13 if test "$OS" = "Windows_NT" && test "$MSYSCON" = "mintty.exe"; then
14 PYTHONPATHSEP=`python -c 'import os,sys; sys.stdout.write(os.pathsep)'`
15 if test "$PYTHONPATHSEP" = ";" && command -v > /dev/null winpty; then
16 # winpty is needed so command-line history works
17 AUTO_DIR2="$AUTO_DIR"
18 unset AUTO_DIR
19 command -v > /dev/null python && exec winpty python "$AUTO_DIR2/python/auto/interactiveBindings.py" ${1+"$@"};
20 exec winpty python3 "$AUTO_DIR2/python/auto/interactiveBindings.py" ${1+"$@"};
21 fi
22 fi
23
24 command -v > /dev/null python && exec python "$AUTO_DIR/python/auto/interactiveBindings.py" ${1+"$@"};
25 exec python3 "$AUTO_DIR/python/auto/interactiveBindings.py" ${1+"$@"};