[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    error in l10n[-kde4]/scripts/findfiles
From:       Burkhard =?iso-8859-1?q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2007-10-10 20:55:56
Message-ID: 200710102255.56611.lueck () hube-lueck ! de
[Download RAW message or body]

Hi,

digging for a fix of some untranslatable messages in kdegames I noticed, that 
the desktop files of kolf were processed last time by scripty more than two 
years ago, which is really strange.

I believe this is caused by an error in findfiles. This script should generate 
a list of desktop file to be processed by update_translations.

But the relevant lines for kolf add the content of kolf's desktop files to the 
list, not the names of the desktop files.

Could someone please review the attached fix and tell me, if its OK to commit?

Burkhard Lück

["findfiles.diff" (text/x-diff)]

Index: l10n-kde4/scripts/findfiles
===================================================================
--- l10n-kde4/scripts/findfiles	(Revision 723801)
+++ l10n-kde4/scripts/findfiles	(Arbeitskopie)
@@ -33,9 +33,7 @@
 find $BASEDIR/`get_path kdebase`/workspace/kwin -name \*.kwinrules -print >> $filelist
 
 dir="$BASEDIR/`get_path kdegames`"
-for file in `cat $dir/kolf/courses.list`; do
-  cat $dir/kolf/$file >> $filelist
-done
+cat $dir/kolf/courses.list >> $filelist
 unset dir
 
 find $BASEDIR/`get_path kdetoys`/amor/data -name \*rc -print >> $filelist


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic