summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 13:53:02 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 13:53:02 +0000
commit8269b05a637144ca88d567e15fcc0212f9d10b0e (patch)
tree610b68a559e8cd68b201c000c5fe5d2195ae4310
parente931f66b995abe17dd846c7070e2f03a036cf6c3 (diff)
util/nvmutil: use install -d instead of mkdir -p
-p isn't portable Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/Makefile3
1 files changed, 1 insertions, 2 deletions
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: