diff --git a/GNUmakefile b/GNUmakefile index f75109b..708fd35 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -20,8 +20,8 @@ CFLAGS=-pipe -Wall -O2 -fomit-frame-pointer path = $(subst :, ,$(PATH)) diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet)) -ifneq ($(strip $(diet_path)),) -ifeq ($(wildcard /opt/diet/bin/diet),/opt/diet/bin/diet) +ifeq ($(strip $(diet_path)),) +ifneq ($(wildcard /opt/diet/bin/diet),) DIET=/opt/diet/bin/diet else DIET=