]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- revert filezilla related hack
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 1 Feb 2008 16:41:08 +0000 (16:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-find-lang -> 1.27

rpm-find-lang

index 309d32cb6e9269a1a2fef9972d9c217e2791ba92..7238bae99414d322740503829f2b56475908cb92 100644 (file)
@@ -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.
+# $Id$
 
-#findlang is copyright (c) 1998 by W. L. Estes <wlestes@uncg.edu>
+# 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.
 
-#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.
+# findlang is copyright (c) 1998 by W. L. Estes <wlestes@uncg.edu>
 
-#changes:
-# $Id$
+# 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@pld-linux.org>
 #   * fixed --all-name which got broken with last change.
 # 2006-08-09 Elan Ruusamäe <glen@pld-linux.org>
@@ -145,8 +147,8 @@ fi
                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
 
This page took 0.03832 seconds and 4 git commands to generate.