From ea62fb4ab74ac34dbcc396bea71ae35ad67d6fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20R=C3=BCegg?= Date: Thu, 29 Dec 2022 10:56:39 +0100 Subject: [PATCH] Add quotation marks around `$PATH` for deb-utils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #14338, failing to build deb-utils if existing `$PATH` variable would include a whitespace. Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Signed-off-by: Martin Rüegg Closes #14339 --- config/deb.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deb.am b/config/deb.am index cdbdbecb3..643b34d06 100644 --- a/config/deb.am +++ b/config/deb.am @@ -74,7 +74,7 @@ deb-utils: deb-local rpm-utils-initramfs ## Debianized packages from the auto-generated dependencies of the new debs, ## which should NOT be mixed with the alien-generated debs created here chmod +x $${path_prepend}/dh_shlibdeps; \ - env PATH=$${path_prepend}:$${PATH} \ + env "PATH=$${path_prepend}:$${PATH}" \ fakeroot $(ALIEN) --bump=0 --scripts --to-deb --target=$$debarch \ $$pkg1 $$pkg2 $$pkg3 $$pkg4 $$pkg5 $$pkg6 $$pkg7 \ $$pkg8 $$pkg9 $$pkg10 || exit 1; \