From 8269b05a637144ca88d567e15fcc0212f9d10b0e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 12 Mar 2026 13:53:02 +0000 Subject: util/nvmutil: use install -d instead of mkdir -p -p isn't portable Signed-off-by: Leah Rowe --- util/nvmutil/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'util/nvmutil') diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile index 9bf99329..98b35be4 100644 --- a/util/nvmutil/Makefile +++ b/util/nvmutil/Makefile @@ -17,8 +17,7 @@ $(PROG): nvmutil.c $(CC) $(CFLAGS) $(LDFLAGS) nvmutil.c -o $(PROG) install: $(PROG) - mkdir -p $(DESTDIR)$(PREFIX)/bin - $(INSTALL) $(PROG) $(DESTDIR)$(PREFIX)/bin/ + $(INSTALL) -d $(PROG) $(DESTDIR)$(PREFIX)/bin/ chmod 755 $(DESTDIR)$(PREFIX)/bin/$(PROG) uninstall: -- cgit v1.2.1