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=4fc2add4b8f68e9fcb13d4753cfd800c6f2f1f43

commit 4fc2add4b8f68e9fcb13d4753cfd800c6f2f1f43
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Jul 28 15:02:05 2024 +0200

    build: Use 'command -v' instead of 'which'
    
    The latter is not portable, and at least in Debian there was an attempt
    to deprecate it.
---
 scripts/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 005c11587..25d286b2e 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -485,7 +485,7 @@ refresh-test-data: $(test_data_objects)
          >$(srcdir)/t/Dpkg_Shlibs/objdump.patterns
        $(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.spacesyms.so \
          >$(srcdir)/t/Dpkg_Shlibs/objdump.spacesyms
-       $(OBJDUMP) `which ls` >$(srcdir)/t/Dpkg_Shlibs/objdump.ls
+       $(OBJDUMP) `command -v ls` >$(srcdir)/t/Dpkg_Shlibs/objdump.ls
 
 include $(top_srcdir)/build-aux/tap.am
 

-- 
Dpkg.Org's dpkg

Reply via email to