changeset 2875:56606b0a0abc

PR3103: Handle case in clean-fonts where linux.fontconfig.Gentoo.properties.old has not been created 2016-07-20 Andrew John Hughes <gnu.andrew@redhat.com> PR3103: Handle case in clean-fonts where linux.fontconfig.Gentoo.properties.old has not been created * Makefile.am: (clean-fonts): Guard movement of old Gentoo.properties.old file with a check to see if it exists. * NEWS: Updated.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Thu, 21 Jul 2016 02:19:05 +0100
parents fe313abbf5af
children ff1876b84749
files ChangeLog Makefile.am NEWS
diffstat 3 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jul 20 14:04:19 2016 +0100
+++ b/ChangeLog	Thu Jul 21 02:19:05 2016 +0100
@@ -1,3 +1,14 @@
+2016-07-20  Andrew John Hughes  <gnu.andrew@redhat.com>
+
+	PR3103: Handle case in clean-fonts where
+	linux.fontconfig.Gentoo.properties.old has
+	not been created
+	* Makefile.am:
+	(clean-fonts): Guard movement of old
+	Gentoo.properties.old file with a
+	check to see if it exists.
+	* NEWS: Updated.
+
 2016-07-20  Andrew John Hughes  <gnu.andrew@redhat.com>
 
 	PR3091: SystemTap is heavily confused
--- a/Makefile.am	Wed Jul 20 14:04:19 2016 +0100
+++ b/Makefile.am	Thu Jul 21 02:19:05 2016 +0100
@@ -1642,7 +1642,9 @@
 
 clean-fonts:
 	rm -f $(FONTCONFIG_PATH)/linux.fontconfig.Gentoo.properties
-	mv $(FONTCONFIG_PATH)/linux.fontconfig.Gentoo.properties{.old,}
+	if [ -e $(FONTCONFIG_PATH)/linux.fontconfig.Gentoo.properties.old ] ; then \
+	  mv $(FONTCONFIG_PATH)/linux.fontconfig.Gentoo.properties{.old,} ; \
+	fi
 	rm -f stamps/fonts.stamp
 
 stamps/patch-fsg.stamp: stamps/extract.stamp stamps/fonts.stamp
--- a/NEWS	Wed Jul 20 14:04:19 2016 +0100
+++ b/NEWS	Thu Jul 21 02:19:05 2016 +0100
@@ -47,6 +47,7 @@
   - PR2799, RH1195203: Files are missing from resources.jar
   - PR2900: Don't use WithSeed versions of NSS functions as they don't fully process the seed
   - PR3091: SystemTap is heavily confused by multiple JDKs
+  - PR3103: Handle case in clean-fonts where linux.fontconfig.Gentoo.properties.old has not been created
 * AArch64 port
   - S8148328: aarch64: redundant lsr instructions in stub code.
   - S8148783: aarch64: SEGV running SpecJBB2013