error in admin/am_edit
Dirk Mueller
mueller at kde.org
Fri Aug 15 18:29:58 BST 2003
On Fre, 15 Aug 2003, Diego Iastrubni wrote:
> Split loop at admin/am_edit line 844.
I've never seen such an error message before, does the attached patch help?
--
Dirk
-------------- next part --------------
Index: admin/am_edit
===================================================================
RCS file: /home/kde/kde-common/admin/am_edit,v
retrieving revision 1.386
diff -u -5 -d -p -r1.386 am_edit
--- admin/am_edit 13 Aug 2003 19:39:32 -0000 1.386
+++ admin/am_edit 15 Aug 2003 17:29:33 -0000
@@ -839,11 +839,12 @@ sub tag_KDEINIT()
my @progs = ();
my $ltlibs = "";
my $lookup = 'kdeinit_LTLIBRARIES\s*=[ \t]*(.*)';
if ($MakefileData =~ m/\n$lookup/) {
- @kdeinits = split(/[\034\s]+/, $1);
+ my $targets = $1;
+ @kdeinits = split(/[\034\s]+/, $targets);
my $lines = "";
foreach my $kdeinit (@kdeinits) {
if ($kdeinit =~ m/\.la$/) {
$kdeinit =~ s/\.la$//;
push(@progs, $kdeinit);
More information about the kde-core-devel
mailing list