This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=99ea1e913c8aed2556cc566ccd26ca6228abcc6a commit 99ea1e913c8aed2556cc566ccd26ca6228abcc6a Author: Guillem Jover <guil...@debian.org> AuthorDate: Sat Dec 4 12:32:00 2021 +0100 build: Execute run-script via CONFIG_SHELL When the system /bin/sh is not adequate, and configure has either detected or been instructed to use a different shell, we should honor that and use the same. Reported-by: Larkin Nickle <m...@larbob.org> --- m4/dpkg-arch.m4 | 2 +- m4/dpkg-build.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/dpkg-arch.m4 b/m4/dpkg-arch.m4 index 71044c90f..553f226d6 100644 --- a/m4/dpkg-arch.m4 +++ b/m4/dpkg-arch.m4 @@ -9,7 +9,7 @@ AC_DEFUN([_DPKG_ARCHITECTURE], [ AC_REQUIRE([DPKG_PROG_PERL])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl - $2=$(PERL=$PERL $srcdir/run-script scripts/dpkg-architecture.pl -t$host -q$1 2>/dev/null) + $2=$(PERL=$PERL ${CONFIG_SHELL-/bin/sh} $srcdir/run-script scripts/dpkg-architecture.pl -t$host -q$1 2>/dev/null) ])# _DPKG_ARCHITECTURE # DPKG_CPU_TYPE diff --git a/m4/dpkg-build.m4 b/m4/dpkg-build.m4 index 1cc149a8e..e0abdb775 100644 --- a/m4/dpkg-build.m4 +++ b/m4/dpkg-build.m4 @@ -15,7 +15,7 @@ AC_DEFUN([DPKG_BUILD_SHARED_LIBS], [ # ----------------------- AC_DEFUN([DPKG_BUILD_RELEASE_DATE], [ AC_REQUIRE([DPKG_PROG_PERL]) - TIMESTAMP=$(PERL=$PERL $srcdir/run-script scripts/dpkg-parsechangelog.pl -l$srcdir/debian/changelog -STimestamp) + TIMESTAMP=$(PERL=$PERL ${CONFIG_SHELL-/bin/sh} $srcdir/run-script scripts/dpkg-parsechangelog.pl -l$srcdir/debian/changelog -STimestamp) PACKAGE_RELEASE_DATE=$($PERL -MPOSIX -e "print POSIX::strftime('%Y-%m-%d', gmtime('$TIMESTAMP'));") AC_SUBST([PACKAGE_RELEASE_DATE]) ])# DPKG_BUILD_RELEASE_DATE -- Dpkg.Org's dpkg