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>
This commit is contained in:
Leah Rowe
2026-03-09 06:31:52 +00:00
parent 1446df01f2
commit ec1e6bd7e8
+1 -1
View File
@@ -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