Fixed Makefile to adhere to sh instead of bash scripting
This commit is contained in:
parent
7a57a92357
commit
a2a8b8a230
3
Makefile
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user