bug fix
This commit is contained in:
parent
071fc272b6
commit
f5c135d0d2
@ -20,8 +20,8 @@ CFLAGS=-pipe -Wall -O2 -fomit-frame-pointer
|
|||||||
|
|
||||||
path = $(subst :, ,$(PATH))
|
path = $(subst :, ,$(PATH))
|
||||||
diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
|
diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
|
||||||
ifneq ($(strip $(diet_path)),)
|
ifeq ($(strip $(diet_path)),)
|
||||||
ifeq ($(wildcard /opt/diet/bin/diet),/opt/diet/bin/diet)
|
ifneq ($(wildcard /opt/diet/bin/diet),)
|
||||||
DIET=/opt/diet/bin/diet
|
DIET=/opt/diet/bin/diet
|
||||||
else
|
else
|
||||||
DIET=
|
DIET=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user