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=0cdcc2b626c2679020bec2bb1baada04025f74e9

commit 0cdcc2b626c2679020bec2bb1baada04025f74e9
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Dec 4 12:33:06 2021 +0100

    build: Quote variables containing pathnames
---
 m4/dpkg-arch.m4  | 2 +-
 m4/dpkg-build.m4 | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/m4/dpkg-arch.m4 b/m4/dpkg-arch.m4
index 553f226d6..2d9f1d310 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 ${CONFIG_SHELL-/bin/sh} $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 e0abdb775..120b6cc55 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 ${CONFIG_SHELL-/bin/sh} $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
@@ -104,7 +104,7 @@ AC_DEFUN([DPKG_DIST_IS_RELEASE], [
 # ---------------
 # Check if the condition is fulfilled when preparing a distribution tarball.
 AC_DEFUN([DPKG_DIST_CHECK], [
-  AS_IF([test ! -f $srcdir/.dist-version && $1], [
+  AS_IF([test ! -f "$srcdir/.dist-version" && $1], [
     AC_MSG_ERROR([not building from distributed tarball, $2])
   ])
 ])# DPKG_DIST_CHECK

-- 
Dpkg.Org's dpkg

Reply via email to