summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-03-03 18:57:20 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-03-03 18:57:20 +0100
commit5b674be7ab2a17e7f0d73171b3483a4b7d921383 (patch)
tree814d24657c28505bbc66c113523166f0037b0a7a /source4/build/smb_build
parentb29d47edcf2767d7f9e9f63332079c6e8e89946c (diff)
downloadsamba-5b674be7ab2a17e7f0d73171b3483a4b7d921383.tar.gz
samba-5b674be7ab2a17e7f0d73171b3483a4b7d921383.tar.bz2
samba-5b674be7ab2a17e7f0d73171b3483a4b7d921383.zip
Fix some syntax errors.
(This used to be commit 906148bf87ae278c6f6232675bd6aaf4d1e33e6c)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/makefile.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 3d66c6bcfb..27491a7e9e 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -23,12 +23,11 @@ sub new($$$)
$self->{output} = "";
- $self->{mkfile} = $mkfile;
-
$self->output("################################################\n");
$self->output("# Autogenerated by build/smb_build/makefile.pm #\n");
$self->output("################################################\n");
$self->output("\n");
+ $self->output($mkfile);
return $self;
}
@@ -293,8 +292,6 @@ sub write($$)
$self->_prepare_mk_files();
- $self->output($self->{mkfile});
-
open(MAKEFILE,">$file") || die ("Can't open $file\n");
print MAKEFILE $self->{output};
close(MAKEFILE);