subcmd: pass -m as first argument to install
PATCH 1/1 subcmd: pass -m as first argument to install
Otherwise it gets parsed as a file when a non-GNU getopt(3) is used.
Signed-off-by Haelwenn (lanodan) Monnier <[email protected]>
--- tools/lib/subcmd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/subcmd/Makefile +1 -1
@@ -92,7 +92,7 @@ define do_install if [ ! -d '$2' ]; then \ $(INSTALL) -d -m 755 '$2'; \ fi; \ - $(INSTALL) $1 $(if $3,-m $3,) '$2' + $(INSTALL) $(if $3,-m $3,) $1 '$2' endef install_lib: $(LIBFILE)
Signature · 1 line
2.44.2