blob: faa7fde232e39cb9a5f5207691bbe79e950ee803 [file] [log] [blame]
Brad Bishop08902b02019-08-20 09:16:51 -04001From 72c30928d3d461e0e2d20c5ff33bd96b6991d585 Mon Sep 17 00:00:00 2001
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002From: Robert Yang <liezhi.yang@windriver.com>
3Date: Sat, 25 Jan 2014 23:49:44 -0500
4Subject: [PATCH] autogen.sh: exclude .pc from po/POTFILES.in
5
6Exclude the .pc from po/POTFILES.in since quilt uses "patch --backup",
7which will create the backup file under .pc, this may cause unexpected
8errors, for example, on CentOS 5.x, if the backup file is null
9(newfile), it's mode will be 000, then we will get errors when xgettext
10try to read it.
11
12Upstream-Status: Inappropriate [OE specific]
13
14Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Brad Bishop08902b02019-08-20 09:16:51 -040015Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016---
Brad Bishop08902b02019-08-20 09:16:51 -040017 autogen.sh | 2 +-
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/autogen.sh b/autogen.sh
Brad Bishop08902b02019-08-20 09:16:51 -040021index ef43270..a7067a7 100755
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022--- a/autogen.sh
23+++ b/autogen.sh
Brad Bishop08902b02019-08-20 09:16:51 -040024@@ -13,7 +13,7 @@ fi
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025 export LC_COLLATE=C
26 unset LC_ALL
27
Brad Bishop08902b02019-08-20 09:16:51 -040028-find . -iname '*.[ch]' ! -ipath './grub-core/lib/libgcrypt-grub/*' ! -ipath './build-aux/*' ! -ipath './grub-core/lib/libgcrypt/src/misc.c' ! -ipath './grub-core/lib/libgcrypt/src/global.c' ! -ipath './grub-core/lib/libgcrypt/src/secmem.c' ! -ipath './util/grub-gen-widthspec.c' ! -ipath './util/grub-gen-asciih.c' ! -ipath './gnulib/*' ! -iname './grub-core/lib/gnulib/*' |sort > po/POTFILES.in
29+find . -iname '*.[ch]' ! -ipath './grub-core/lib/libgcrypt-grub/*' ! -ipath './build-aux/*' ! -ipath './grub-core/lib/libgcrypt/src/misc.c' ! -ipath './grub-core/lib/libgcrypt/src/global.c' ! -ipath './grub-core/lib/libgcrypt/src/secmem.c' ! -ipath './util/grub-gen-widthspec.c' ! -ipath './util/grub-gen-asciih.c' ! -ipath './gnulib/*' ! -iname './grub-core/lib/gnulib/*' ! -path './.pc/*' |sort > po/POTFILES.in
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030 find util -iname '*.in' ! -name Makefile.in |sort > po/POTFILES-shell.in
31
32 echo "Importing unicode..."
33--
Brad Bishop08902b02019-08-20 09:16:51 -0400342.7.4
Patrick Williamsc124f4f2015-09-15 14:41:29 -050035