]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Add quotation marks around `$PATH` for deb-utils
authorMartin Rüegg <martin.rueegg@metaworx.ch>
Thu, 29 Dec 2022 09:56:39 +0000 (10:56 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 5 Jan 2023 18:49:33 +0000 (10:49 -0800)
Fix #14338, failing to build deb-utils if existing `$PATH` variable
would include a whitespace.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Martin Rüegg <martin.rueegg@metaworx.ch>
Closes #14339

config/deb.am

index 76e54acfa8e475e476734d1956b618c12d55fa49..e9b3f70f0bfbc355144c83ddf7802b4ecd074ccd 100644 (file)
@@ -78,7 +78,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 $$pkg11 || exit 1; \