DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Git (4c053db233)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh

script="$(dirname $0)"/src/bootstrap/configure.py

try() {
    cmd=$1
    shift
    T=$($cmd --version 2>/dev/null)
    if [ $? -eq 0 ]; then
        exec $cmd "$script" "$@"
    fi
}

try python2.7 "$@"
try python27 "$@"
try python2 "$@"
exec python $script "$@"