summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-09 08:46:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:03 -0500
commite04ad03d66329a45d9855b4e65ea62acceb6ecb8 (patch)
tree448c6d37a6d26324f8947b1af7ad99c57980e80b /source4
parent6d8a03b5f5ba42fcfc449b1aaf64f120e42b226f (diff)
downloadsamba-e04ad03d66329a45d9855b4e65ea62acceb6ecb8.tar.gz
samba-e04ad03d66329a45d9855b4e65ea62acceb6ecb8.tar.bz2
samba-e04ad03d66329a45d9855b4e65ea62acceb6ecb8.zip
r18293: use the correct name it's not always under $srcdir...
metze (This used to be commit cf61435b435b7995f20e07b93002e51fe4ac2c82)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/config_mk.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/build/smb_build/config_mk.pm b/source4/build/smb_build/config_mk.pm
index 4b2a3ff8c7..5c5c0ad92b 100644
--- a/source4/build/smb_build/config_mk.pm
+++ b/source4/build/smb_build/config_mk.pm
@@ -201,7 +201,7 @@ sub run_config_mk($$$$)
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 @@ sub run_config_mk($$$$)
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};