From a2a8b8a2302a1da528d0246541951175a2f3af6c Mon Sep 17 00:00:00 2001 From: Jonathan Moallem Date: Tue, 24 Nov 2020 15:24:02 +1100 Subject: [PATCH] Fixed Makefile to adhere to sh instead of bash scripting --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6962b5e..2fefdfa 100644 --- a/Makefile +++ b/Makefile @@ -74,8 +74,9 @@ clean: check: # Search the execution log for mention of raylib starting + cat $(tempDir)/execute.log $(eval VAR = $(shell grep -c "raylib" $(tempDir)/execute.log)) - if [[ $(VAR) -gt 0 ]];\ + if [ $(VAR) -gt 0 ];\ then echo "Application was started";\ else echo "Application failed to start"; exit 1;\ fi