Commit a8876597 authored by Akira TAGOH's avatar Akira TAGOH

Fix distcheck fail

parent 0ce32973
......@@ -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 ())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment