grub2/grub2-linguas.sh-no-rsync.patch
Jiri Slaby 608d5e43ad Accepting request 179591 from home:arvidjaar:grub2-next
Now Fedora is using trunk as well, just serialized - every commit
as separate patch on top of base 2.00 version. So we are not alone
and can move along.

Please test.

OBS-URL: https://build.opensuse.org/request/show/179591
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=42
2013-06-18 17:11:34 +00:00

28 lines
859 B
Diff

From: Andrey Borzenkov <arvidjaar@gmail.com>
Subject: disable rsync to make it possible to use in RPM build
We need to create po/LINGUAS to generate message catalogs. Use
linguas.sh to ensure we always use the same rules as upstream, but
disable rsync.
Index: grub-2.00/linguas.sh
===================================================================
--- grub-2.00.orig/linguas.sh
+++ grub-2.00/linguas.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-rsync -Lrtvz --exclude=ko.po translationproject.org::tp/latest/grub/ po
+#rsync -Lrtvz --exclude=ko.po translationproject.org::tp/latest/grub/ po
autogenerated="en@quot en@hebrew de@hebrew en@cyrillic en@greek en@arabic en@piglatin de_CH"
@@ -14,7 +14,7 @@ done
(
cd po && ls *.po| cut -d. -f1
for x in $autogenerated; do
- echo "$x";
+ : echo "$x";
done
) | sort | uniq | xargs
) >po/LINGUAS