summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/dump.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-12 02:00:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:45 -0500
commita20b130b5f275a264cfdd59adcb25987fba97fc2 (patch)
treeba41300636f3705c4e75aeb5e7a0faddbc726e89 /source4/build/smb_build/dump.pm
parentab440ac6f75c12989d5dc15cc75a99e62f35612f (diff)
downloadsamba-a20b130b5f275a264cfdd59adcb25987fba97fc2.tar.gz
samba-a20b130b5f275a264cfdd59adcb25987fba97fc2.tar.bz2
samba-a20b130b5f275a264cfdd59adcb25987fba97fc2.zip
r3691: Use packages
(This used to be commit 975f06b626a3cc25e69bbe95dcfa04dc78e3dc92)
Diffstat (limited to 'source4/build/smb_build/dump.pm')
-rw-r--r--source4/build/smb_build/dump.pm25
1 files changed, 25 insertions, 0 deletions
diff --git a/source4/build/smb_build/dump.pm b/source4/build/smb_build/dump.pm
new file mode 100644
index 0000000000..9a751e3563
--- /dev/null
+++ b/source4/build/smb_build/dump.pm
@@ -0,0 +1,25 @@
+###########################################################
+### SMB Build System ###
+### - the dump & debug functions ###
+### ###
+### Copyright (C) Stefan (metze) Metzmacher 2004 ###
+### Released under the GNU GPL ###
+###########################################################
+
+package dump;
+use strict;
+
+use Data::Dumper;
+
+sub dump_ctx($)
+{
+ my $ctx = shift;
+
+ open (DUMP,"> config.smb_build.dump");
+
+ print DUMP Dumper($ctx);
+
+ close(DUMP);
+}
+
+1;