Fixed Makefile to adhere to sh instead of bash scripting

This commit is contained in:
Jonathan Moallem 2020-11-24 15:24:02 +11:00
parent 7a57a92357
commit a2a8b8a230

View File

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