master
leitner 22 years ago
parent 071fc272b6
commit f5c135d0d2

@ -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=

Loading…
Cancel
Save