blob: f8dfda90abbc72a23dd5b2559aa19d88ab4c063e [file] [log] [blame]
Patrick Williamsf52e3dd2024-01-26 13:04:43 -06001From 14c1d0459fb3561e627d3a5f6e91a0d2f7b4aa45 Mon Sep 17 00:00:00 2001
Andrew Geissler95ac1b82021-03-31 14:34:31 -05002From: 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 Williamsf52e3dd2024-01-26 13:04:43 -060017
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018---
Brad Bishop08902b02019-08-20 09:16:51 -040019 autogen.sh | 2 +-
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/autogen.sh b/autogen.sh
Patrick Williamsf52e3dd2024-01-26 13:04:43 -060023index 195daa5..773b7b4 100755
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024--- a/autogen.sh
25+++ b/autogen.sh
Patrick Williamsf52e3dd2024-01-26 13:04:43 -060026@@ -26,7 +26,7 @@ fi
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027 export LC_COLLATE=C
28 unset LC_ALL
29
Andrew Geissler95ac1b82021-03-31 14:34:31 -050030-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
31+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 -050032 find util -iname '*.in' ! -name Makefile.in |sort > po/POTFILES-shell.in
33
34 echo "Importing unicode..."