From c55ad00e2ade32b111ebf8763fc32f941c4a63a0 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 24 Aug 2015 17:48:30 +0800 Subject: [PATCH] samples: use -e rather than -a to check for file existence in Makefile --- samples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Makefile b/samples/Makefile index 5cc32ee7..1ebb891f 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -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 =