diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-10-14 23:47:09 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-10-15 00:05:47 +0000 |
| commit | 3da7f71e45eb986aef67771b5af3c1e308971cff (patch) | |
| tree | 4b1b842ab5f9d1ccd61df7e83aa13d2072490fb2 /src/livarot/PathSimplify.cpp | |
| parent | Fix a warning issue on theme change (diff) | |
| download | inkscape-3da7f71e45eb986aef67771b5af3c1e308971cff.tar.gz inkscape-3da7f71e45eb986aef67771b5af3c1e308971cff.zip | |
Extensions: Fix file test when checking dependencies by type
For "executable" files only existence was checked.
(Glib::file_test needs a single FileTest)
Apply this properly when checking script <command>s and xslt <file>s
- interpreted scripts and xslt files -> only check existence
- un-interpreted scripts -> check for executable file
For Windows workarounds are implemented to yield desirable behavior:
- as there is no executable bit, only check existence
- as executables usually come with an extensions, scan for those
as well.
Diffstat (limited to 'src/livarot/PathSimplify.cpp')
0 files changed, 0 insertions, 0 deletions
