From f82739882a1824ed633a6497849fa5c2a0e98f80 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 31 Jul 2025 18:20:21 +0200 Subject: [PATCH] GHA/distcheck: disable perl without sudo --- .github/workflows/distcheck.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/distcheck.yml b/.github/workflows/distcheck.yml index 03032023f6..0bfc40c81b 100644 --- a/.github/workflows/distcheck.yml +++ b/.github/workflows/distcheck.yml @@ -127,9 +127,6 @@ jobs: with: name: 'release-tgz' - - name: 'disable preinstalled perl' - run: sudo mv "$(command -v perl)" "$(command -v perl)"-disabled - - name: 'build & install' run: | echo "::stop-commands::$(uuidgen)" @@ -137,6 +134,7 @@ jobs: pushd curl-99.98.97 mkdir build pushd build + export ac_cv_path_PERL= ../configure --prefix="$PWD"/curl-install --enable-werror --without-ssl --without-libpsl --disable-docs make make install @@ -154,14 +152,12 @@ jobs: with: name: 'release-tgz' - - name: 'disable preinstalled perl' - run: sudo mv "$(command -v perl)" "$(command -v perl)"-disabled - - name: 'build & install' run: | echo "::stop-commands::$(uuidgen)" tar xvf curl-99.98.97.tar.gz pushd curl-99.98.97 + export ac_cv_path_PERL= ./configure --prefix="$PWD"/curl-install --enable-werror --without-ssl --without-libpsl --disable-docs make make install