fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
292 B18 linesraw
1#!/bin/sh
2
3script="$(dirname $0)"/src/bootstrap/configure.py
4
5try() {
6    cmd=$1
7    shift
8    T=$($cmd --version 2>/dev/null)
9    if [ $? -eq 0 ]; then
10        exec $cmd "$script" "$@"
11    fi
12}
13
14try python3 "$@"
15try python2.7 "$@"
16try python27 "$@"
17try python2 "$@"
18exec python $script "$@"