Skip to content

Respect sysroot option for file path passed to stat

Chris McDonald requested to merge cjmcdonald/fontconfig:sysroot_stat into master

Currently fc-cache will try to stat files without the sysroot prepended, even if the sysroot option is set. For example, with --sysroot=/example/sysroot, fc-cache will try to stat "/usr/share/fonts/EXAMPLE_FILE" instead of "/example/sysroot/usr/share/fonts/EXAMPLE_FILE", despite displaying the latter path.

Resolves #134 (closed)

Edited by Chris McDonald

Merge request reports