forked from pool/grub2
28 lines
859 B
Diff
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
|