/
githubmirror
/
cpython
Обзор
Документация
Войти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Tools/build/regen-configure.sh
29 строк
757 B
Erlend E. Aasland
gh-115765: Upgrade to GNU Autoconf 2.72 (#128411)
03 янв 2025, 14:37
Не верифицирован
03 янв 2025, 14:37
8abd6ce
Код
Авторство
О чём код?
#!/usr/bin/env bash set -e -x # The check_autoconf_regen job of .github/workflows/build.yml must kept in # sync with this script. Use the same container image than the job so the job # doesn't need to run autoreconf in a container. IMAGE="ghcr.io/python/autoconf:2025.01.02.12581854023" AUTORECONF="autoreconf -ivf -Werror" WORK_DIR="/src" abs_srcdir=$(cd $(dirname $0)/../..; pwd) if podman --version &>/dev/null; then RUNTIME="podman" elif docker --version &>/dev/null; then RUNTIME="docker" else echo "$@ needs either Podman or Docker container runtime." >&2 exit 1 fi PATH_OPT="" if command -v selinuxenabled >/dev/null && selinuxenabled; then PATH_OPT=":Z" fi "$RUNTIME" run --rm -v "$abs_srcdir:$WORK_DIR$PATH_OPT" "$IMAGE"