1 2 3 4 5 6 7 8 9
#!/bin/sh SRCDIR=$(dirname $0) TOPSRCDIR="$SRCDIR"/../.. export OLD_CONFIGURE="$SRCDIR"/old-configure set -- "$@" --enable-project=js which python2.7 > /dev/null && exec python2.7 "$TOPSRCDIR/configure.py" "$@" || exec python "$TOPSRCDIR/configure.py" "$@"