SOURCES: rpm-find-lang - revert filezilla related hack
glen
glen at pld-linux.org
Fri Feb 1 17:41:14 CET 2008
Author: glen Date: Fri Feb 1 16:41:14 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- revert filezilla related hack
---- Files affected:
SOURCES:
rpm-find-lang (1.26 -> 1.27)
---- Diffs:
================================================================
Index: SOURCES/rpm-find-lang
diff -u SOURCES/rpm-find-lang:1.26 SOURCES/rpm-find-lang:1.27
--- SOURCES/rpm-find-lang:1.26 Fri Feb 1 00:00:21 2008
+++ SOURCES/rpm-find-lang Fri Feb 1 17:41:08 2008
@@ -1,18 +1,20 @@
#!/bin/sh
-#findlang - automagically generate list of language specific files
-#for inclusion in an rpm spec file.
-#This does assume that the *.mo files are under .../share/locale/...
-#Run with no arguments gets a usage message.
-
-#findlang is copyright (c) 1998 by W. L. Estes <wlestes at uncg.edu>
-
-#Redistribution and use of this software are hereby permitted for any
-#purpose as long as this notice and the above copyright notice remain
-#in tact and are included with any redistribution of this file or any
-#work based on this file.
-
-#changes:
# $Id$
+
+# findlang - automagically generate list of language specific files
+# for inclusion in an rpm spec file.
+# This does assume that the *.mo files are under .../share/locale/...
+# Run with no arguments gets a usage message.
+
+# findlang is copyright (c) 1998 by W. L. Estes <wlestes at uncg.edu>
+
+# Redistribution and use of this software are hereby permitted for any
+# purpose as long as this notice and the above copyright notice remain
+# in tact and are included with any redistribution of this file or any
+# work based on this file.
+
+# Changes:
+#
# 2006-08-28 Elan Ruusamäe <glen at pld-linux.org>
# * fixed --all-name which got broken with last change.
# 2006-08-09 Elan Ruusamäe <glen at pld-linux.org>
@@ -145,8 +147,8 @@
cat __find.files
fi
) | sed '
-'"$ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/@]\+\)\(@quot\|@boldquot\)\?\(@[^/]*\)\?\(.*\.mo$\):%lang(\2\4) \1\2\3\4\5:
-'"$NO_ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/@]\+\)\(@quot\|@boldquot\)\?\(@[^/]*\)\?\(.*/'"$NAME"'\.mo$\):%lang(\2\4) \1\2\3\4\5:
+'"$ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/@]\+\)\(@quot\|@boldquot\)\?\(@[^/]*\)\?\(/.*\.mo$\):%lang(\2\4) \1\2\3\4\5:
+'"$NO_ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/@]\+\)\(@quot\|@boldquot\)\?\(@[^/]*\)\?\(/.*/'"$NAME"'\.mo$\):%lang(\2\4) \1\2\3\4\5:
/^[^%]/d
s:%lang(C) ::' >> $MO_NAME
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-find-lang?r1=1.26&r2=1.27&f=u
More information about the pld-cvs-commit
mailing list