inkscape_tools: fix Inkscape version detection on Ubuntu
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 21 Feb 2018 17:28:52 +0000 (12:28 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 21 Feb 2018 17:32:00 +0000 (12:32 -0500)
commit85a1c69334e09953f7b4728a761fc7c389b4da5d
tree49edc59be9ca3b53039ed4307566b65dd93d1784
parentb4e876e28a4622b7bc72eed0f1f9630f576de881
inkscape_tools: fix Inkscape version detection on Ubuntu

The regex detecting the Inkscape version was too permissive and expected
3 numbers. This make it wrongly match to the revision string on Ubuntu
where the version string has 2 numbers:

Inkscape 0.91 r13725

Reported-by: Romain Chanoir <romain.chanoir@viacesi.fr>
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/inkscape_tools/src/svg_to_png_and_nit.nit