Fix distcheck fail
This commit is contained in:
parent
0ce32973c8
commit
a887659706
|
@ -93,6 +93,6 @@ TESTS += test-bz106632
|
|||
|
||||
EXTRA_DIST=run-test.sh run-test-conf.sh $(TESTDATA) out.expected-long-family-names out.expected-no-long-family-names
|
||||
|
||||
CLEANFILES=out fonts.conf out.expected
|
||||
CLEANFILES=out out1 out2 fonts.conf out.expected
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
|
|
@ -57,7 +57,7 @@ check () {
|
|||
echo "*** output is in 'out', expected output in '$EXPECTED'"
|
||||
exit 1
|
||||
fi
|
||||
rm out
|
||||
rm -f out
|
||||
}
|
||||
|
||||
prep() {
|
||||
|
@ -141,7 +141,7 @@ if cmp out1 out2 > /dev/null ; then
|
|||
echo "*** .uuid wasn't modified"
|
||||
exit 1
|
||||
fi
|
||||
rm out1 out2
|
||||
rm -f out1 out2
|
||||
|
||||
dotest "Consistency between .uuid and cache name"
|
||||
prep
|
||||
|
@ -244,7 +244,7 @@ prep
|
|||
cp $FONT1 $FONT2 $FONTDIR
|
||||
$FCCACHE $FONTDIR
|
||||
sleep 1
|
||||
rm $FONTDIR/*pcf
|
||||
rm -f $FONTDIR/*pcf
|
||||
$FCCACHE $FONTDIR
|
||||
rmdir $FONTDIR > /dev/null 2>&1
|
||||
if [ $? != 0 ]; then
|
||||
|
|
|
@ -226,7 +226,7 @@ main (void)
|
|||
goto bail;
|
||||
}
|
||||
fprintf (stderr, "D: Removing %s\n", fontdir);
|
||||
snprintf (cmd, 512, "rm %s%s*", fontdir, FC_DIR_SEPARATOR_S);
|
||||
snprintf (cmd, 512, "rm -f %s%s*", fontdir, FC_DIR_SEPARATOR_S);
|
||||
system (cmd);
|
||||
fprintf (stderr, "D: Reinitializing\n");
|
||||
if (!FcConfigUptoDate (config) || !FcInitReinitialize ())
|
||||
|
|
Loading…
Reference in New Issue