]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian/rules: remove extra pkg-config
authorDarrick J. Wong <djwong@kernel.org>
Mon, 13 Oct 2025 18:11:13 +0000 (11:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 17 Oct 2025 23:34:21 +0000 (16:34 -0700)
Not sure why the definition for deb_udevudevdir calls pkg-config with
the string "pkg-config" as its first argument.  Even more crazily, this
happens on Debian 12:

$ pkg-config --variable=udevdir udev
/lib/udev
$ pkg-config pkg-config --variable=udevdir udev
 /lib/udev

Note the leading space!  Given the sed script in the same definition,
I'm guessing that the extra space is NOT the desired behavior.

Cc: <linux-ext4@vger.kernel.org> # v1.47.1
Fixes: 288de9fb396811 ("debian: acknowledge NMU'ed changes to 1.47.0-2.4")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
debian/rules

index 4cb80652115317af708b7aaa77d5964d35f62712..c88675c9228bd0bfb1c2a5ef7ad4308468f5acc3 100755 (executable)
@@ -16,7 +16,7 @@ endif
 
 ifeq ($(DEB_HOST_ARCH_OS), linux)
 export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)
-export deb_udevudevdir = $(shell pkg-config pkg-config --variable=udevdir udev | sed s,^/,,)
+export deb_udevudevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
 endif
 
 ifneq ($(filter pkg.e2fsprogs.no-fuse2fs,$(DEB_BUILD_PROFILES)),)