blob: 1323a54a593f295b86624cc2f308a4e4b3ac0078 [file] [log] [blame]
Andrew Geissler95ac1b82021-03-31 14:34:31 -05001From 8790aa8bea736f52341a0430ff3e317d3be0f99b Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Mon, 15 Mar 2021 14:44:15 +0800
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004Subject: [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>
Andrew Geissler95ac1b82021-03-31 14:34:31 -050016Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017---
Brad Bishop08902b02019-08-20 09:16:51 -040018 autogen.sh | 2 +-
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/autogen.sh b/autogen.sh
Andrew Geissler95ac1b82021-03-31 14:34:31 -050022index 31b0ced7e..c63ae766c 100755
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023--- a/autogen.sh
24+++ b/autogen.sh
Brad Bishop08902b02019-08-20 09:16:51 -040025@@ -13,7 +13,7 @@ fi
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026 export LC_COLLATE=C
27 unset LC_ALL
28
Andrew Geissler95ac1b82021-03-31 14:34:31 -050029-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/*' ! -ipath './grub-core/lib/gnulib/*' |sort > po/POTFILES.in
30+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/*' ! -ipath './grub-core/lib/gnulib/*' ! -path './.pc/*' |sort > po/POTFILES.in
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031 find util -iname '*.in' ! -name Makefile.in |sort > po/POTFILES-shell.in
32
33 echo "Importing unicode..."
34--
Andrew Geissler95ac1b82021-03-31 14:34:31 -0500352.17.1
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036