samples: use -e rather than -a to check for file existence in Makefile

This commit is contained in:
Nguyen Anh Quynh 2015-08-24 17:48:30 +08:00
parent 783b68c85b
commit c55ad00e2a

View File

@ -75,7 +75,7 @@ endif
.PHONY: all clean
UNICORN_ARCHS := $(shell if [ -a ../config.log ]; then cat ../config.log;\
UNICORN_ARCHS := $(shell if [ -e ../config.log ]; then cat ../config.log;\
else printf "$(UNICORN_ARCHS)"; fi)
SOURCES =