mirror of
https://github.com/nmap/nmap.git
synced 2026-09-01 07:52:57 +00:00
Use $(INSTALL) command rather than cp to copy NSE scripts and libraries during install so that permissions are set properly too
This commit is contained in:
parent
752748bb43
commit
c5d5b47769
1 changed files with 2 additions and 2 deletions
|
|
@ -249,9 +249,9 @@ NSE_LIB_LUA_FILES = nselib/*.lua
|
|||
install-nse: $(TARGET)
|
||||
$(INSTALL) -c -m 644 nse_main.lua $(DESTDIR)$(nmapdatadir)/
|
||||
$(INSTALL) -d $(DESTDIR)$(nmapdatadir)/scripts
|
||||
cp -f $(NSE_FILES) $(DESTDIR)$(nmapdatadir)/scripts
|
||||
$(INSTALL) -c -m 644 $(NSE_FILES) $(DESTDIR)$(nmapdatadir)/scripts
|
||||
$(INSTALL) -d $(DESTDIR)$(nmapdatadir)/nselib
|
||||
cp -f $(NSE_LIB_LUA_FILES) $(DESTDIR)$(nmapdatadir)/nselib
|
||||
$(INSTALL) -c -m 644 $(NSE_LIB_LUA_FILES) $(DESTDIR)$(nmapdatadir)/nselib
|
||||
|
||||
install-ncat: $(NCATDIR)/ncat
|
||||
@cd $(NCATDIR) && $(MAKE) install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue