From: Hank Leininger Date: Fri, 10 Jun 2016 19:29:10 +0000 (-0400) Subject: Make sure the INSTALL_FOLDER path exists. X-Git-Tag: v3.00~71^2 X-Git-Url: https://www.flypig.org.uk/git/?p=hashcat.git;a=commitdiff_plain;h=8254e2e3c42f59d013c0a9dbbed2fd4a5c5a18f6 Make sure the INSTALL_FOLDER path exists. This is only likely to come up when using DESTDIR to point to an alternate directory tree, or if the user has pointed at some exotic PREFIX for some reason, but should be harmless in the normal case. --- diff --git a/src/Makefile b/src/Makefile index 914ed61..db30bbb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -212,6 +212,7 @@ install: native $(CP) -a rules/* $(DESTDIR)$(SHARED_FOLDER)/rules/ $(INSTALL) -m 644 hashcat.hcstat $(DESTDIR)$(SHARED_FOLDER)/ $(INSTALL) -m 644 hashcat.hctune $(DESTDIR)$(SHARED_FOLDER)/ + $(INSTALL) -m 755 -d $(DESTDIR)$(INSTALL_FOLDER) $(INSTALL) -m 755 $(BINARY_NATIVE) $(DESTDIR)$(INSTALL_FOLDER)/ uninstall: