Fix a test fail when no bwrap was available
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/201
This commit is contained in:
parent
8249f871b3
commit
8bddcb1137
|
@ -40,9 +40,8 @@ ECHO=true
|
||||||
FCLIST="$LOG_COMPILER ../fc-list/fc-list$EXEEXT"
|
FCLIST="$LOG_COMPILER ../fc-list/fc-list$EXEEXT"
|
||||||
FCCACHE="$LOG_COMPILER ../fc-cache/fc-cache$EXEEXT"
|
FCCACHE="$LOG_COMPILER ../fc-cache/fc-cache$EXEEXT"
|
||||||
|
|
||||||
which bwrap > /dev/null 2>&1
|
if [ -x "$(command -v bwrap)" ]; then
|
||||||
if [ $? -eq 0 ]; then
|
BWRAP="$(command -v bwrap)"
|
||||||
BWRAP=`which bwrap`
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FONT1=$TESTDIR/4x6.pcf
|
FONT1=$TESTDIR/4x6.pcf
|
||||||
|
|
Loading…
Reference in New Issue