svn commit: samba r18293 - in
branches/SAMBA_4_0/source/build/smb_build: .
metze at samba.org
metze at samba.org
Sat Sep 9 08:46:26 GMT 2006
Author: metze
Date: 2006-09-09 08:46:25 +0000 (Sat, 09 Sep 2006)
New Revision: 18293
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18293
Log:
use the correct name it's not always under $srcdir...
metze
Modified:
branches/SAMBA_4_0/source/build/smb_build/config_mk.pm
Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/config_mk.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/config_mk.pm 2006-09-09 08:34:48 UTC (rev 18292)
+++ branches/SAMBA_4_0/source/build/smb_build/config_mk.pm 2006-09-09 08:46:25 UTC (rev 18293)
@@ -201,7 +201,7 @@
next;
}
- die("$srcdir."/".$filename:$linenum: Bad line while parsing $srcdir."/".$filename");
+ die("$parsing_file:$linenum: Bad line while parsing $parsing_file");
}
foreach my $section (keys %{$result}) {
@@ -209,19 +209,19 @@
my $sectype = $section_types->{$type};
if (not defined($sectype)) {
- die($srcdir."/".$filename.":[".$section."] unknown section type \"".$type."\"!");
+ die($parsing_file.":[".$section."] unknown section type \"".$type."\"!");
}
$input->{$name}{NAME} = $name;
$input->{$name}{TYPE} = $type;
- $input->{$name}{MK_FILE} = $srcdir."/".$filename;
+ $input->{$name}{MK_FILE} = $parsing_file;
$input->{$name}{BASEDIR} = dirname($filename);
foreach my $key (values %{$result->{$section}}) {
$key->{VAL} = smb_build::input::strtrim($key->{VAL});
my $vartype = $sectype->{$key->{KEY}};
if (not defined($vartype)) {
- die($srcdir."/".$filename.":[".$section."]: unknown attribute type \"$key->{KEY}\"!");
+ die($parsing_file.":[".$section."]: unknown attribute type \"$key->{KEY}\"!");
}
if ($vartype eq "string") {
$input->{$name}{$key->{KEY}} = $key->{VAL};
More information about the samba-cvs
mailing list