Small fix for < 10 Windows
authorMangix <rosenp@gmail.com>
Fri, 10 Jun 2016 21:11:22 +0000 (14:11 -0700)
committerMangix <rosenp@gmail.com>
Fri, 10 Jun 2016 21:14:22 +0000 (14:14 -0700)
src/Makefile

index ce6c29e..2ca5fd0 100644 (file)
@@ -13,8 +13,9 @@ PROG_NAME                := hashcat
 ##
 
 UNAME                    := $(shell uname -s)
+UNAME                   := $(patsubst CYGWIN_NT-%,CYGWIN_NT-,$(UNAME))
 
-ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT-10.0))
+ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT-))
 $(error "! Your Operating System ($(UNAME)) is not supported by $(PROG_NAME) Makefile")
 endif