From: Elan Ruusamäe Date: Fri, 1 Feb 2008 16:41:08 +0000 (+0000) Subject: - revert filezilla related hack X-Git-Tag: auto/ac/rpm-4_4_9-31 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm-build-macros.git;a=commitdiff_plain;h=5dc8fe06273c29c4454f0883827fa736fa8bb689 - revert filezilla related hack Changed files: rpm-find-lang -> 1.27 --- diff --git a/rpm-find-lang b/rpm-find-lang index 309d32c..7238bae 100644 --- a/rpm-find-lang +++ b/rpm-find-lang @@ -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 +# 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 -#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 # * fixed --all-name which got broken with last change. # 2006-08-09 Elan Ruusamäe @@ -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