summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-12 06:57:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:10 -0500
commit26a55c330a8cd79da290b2ad0e15aaf94be6ebcf (patch)
tree85c23207c8baac99d60163bb3e3089d7e2cabb04 /source4/scripting/libjs
parent102e24761189306fdf6233481ada43e99a56b5e7 (diff)
downloadsamba-26a55c330a8cd79da290b2ad0e15aaf94be6ebcf.tar.gz
samba-26a55c330a8cd79da290b2ad0e15aaf94be6ebcf.tar.bz2
samba-26a55c330a8cd79da290b2ad0e15aaf94be6ebcf.zip
r8355: - added a vsprintf() function
- removed the --outputdir option from provision, as its not used any more (as ejs knows the real paths) (This used to be commit abbf9c703c17c2edc2d978dade3619a96c38d0d9)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/base.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/scripting/libjs/base.js b/source4/scripting/libjs/base.js
index c6b05755c4..181b3ca959 100644
--- a/source4/scripting/libjs/base.js
+++ b/source4/scripting/libjs/base.js
@@ -10,6 +10,14 @@ if (global["HAVE_BASE_JS"] != undefined) {
HAVE_BASE_JS=1
/*
+ an essential function!
+*/
+function printf()
+{
+ print(vsprintf(arguments));
+}
+
+/*
helper function to setup a rpc io object, ready for input
*/
function irpcObj()