Commit 60a93ffd authored by Anthony Mallet's avatar Anthony Mallet
Browse files

[mk/sysdep] Make blender version detection more robust

The blender version output by blender -v might not be on the first line.
parent 534423e1
......@@ -17,7 +17,7 @@ DEPEND_USE+= blender
DEPEND_ABI.blender?= blender>=2.62
SYSTEM_SEARCH.blender=\
'bin/blender{,-[0-9]*}:1{s/sub.*)//;s/[^0-9.]//gp;}:% -v'
'bin/blender{,-[0-9]*}:/^[Bb]lender/{s/sub.*)//;s/[^0-9.]//gp;}:% -v'
endif # BLENDER_DEPEND_MK -----------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment