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:
|
check:
|
||||||
# Search the execution log for mention of raylib starting
|
# Search the execution log for mention of raylib starting
|
||||||
|
cat $(tempDir)/execute.log
|
||||||
$(eval VAR = $(shell grep -c "raylib" $(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";\
|
then echo "Application was started";\
|
||||||
else echo "Application failed to start"; exit 1;\
|
else echo "Application failed to start"; exit 1;\
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user