From 5f39445b18a457e894380e3cd24460033fc8da22 Mon Sep 17 00:00:00 2001 From: Hussein Kasem Date: Fri, 8 Feb 2019 13:13:52 +0100 Subject: [PATCH] Chage type by which as type was failing --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 30650e9..bb3ad5c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -24,7 +24,7 @@ endif JP=$(JAVA_HOME)/bin # Old versions of a Java distribution have a `javah` binary, new versions do not. This checks whether or not `javah` can be found in the Java distribution found in the directory `$JAVA_HOME`. -NOT_USED:=$(shell type $(JAVA_HOME)/bin/javah) +NOT_USED:=$(shell which $(JAVA_HOME)/bin/javah) ifeq ($(.SHELLSTATUS),0) OLD_JAVA=placeholder endif