rust/configure

18 lines
275 B
Text
Raw Normal View History

#!/bin/sh
2011-03-16 17:17:32 +01:00
script="$(dirname $0)"/src/bootstrap/configure.py
2016-01-21 17:30:22 +01:00
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 "$@"