diff options
Diffstat (limited to 'source4/build/smb_build/smb_build_h.pm')
-rw-r--r-- | source4/build/smb_build/smb_build_h.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/build/smb_build/smb_build_h.pm b/source4/build/smb_build/smb_build_h.pm index f3b0a2b837..e874c77ce8 100644 --- a/source4/build/smb_build/smb_build_h.pm +++ b/source4/build/smb_build/smb_build_h.pm @@ -97,20 +97,21 @@ sub _prepare_smb_build_h($) # $SMB_BUILD_CTX - the global SMB_BUILD context # # $output - the resulting output buffer -sub create_smb_build_h($) +sub create_smb_build_h($$) { my $CTX = shift; + my $file = shift; my $output = "/* autogenerated by config.smb_build.pl */\n"; $output .= _prepare_smb_build_h($CTX); - open(SMB_BUILD_H,"> include/smb_build.h") || die ("Can't open include/smb_build.h\n"); + open(SMB_BUILD_H,"> $file") || die ("Can't open $file\n"); print SMB_BUILD_H $output; close(SMB_BUILD_H); - print "config.smb_build.pl: creating include/smb_build.h\n"; + print "config.smb_build.pl: creating $file\n"; return; } 1; |