summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-09 06:31:52 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-09 06:31:52 +0000
commitec1e6bd7e87b38f0e2db8eb1229e1076addedb85 (patch)
treea64eeb23f48c51bf0b6fd4eb103f7d12562ba318 /util
parent1446df01f2ce03d9e53bd04487e64a304360cba8 (diff)
util/nvmutil: safer / more portable install
explicitly declare the directory path for the given file (nvmutil), otherwise it's implementation-defined; on some systems, /bin/nvmutil means a directory named nvmutil could then contain nvmutil. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/Makefile b/util/nvmutil/Makefile
index a9e57339..ee091aef 100644
--- a/util/nvmutil/Makefile
+++ b/util/nvmutil/Makefile
@@ -19,7 +19,7 @@ nvmutil: nvmutil.c
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin
- $(INSTALL) nvmutil $(DESTDIR)$(PREFIX)/bin/nvmutil
+ $(INSTALL) nvmutil $(DESTDIR)$(PREFIX)/bin/
# do not delete *bin/nvm because
# there is a package manager by