diff --git a/configure b/configure index fbe2e5ad0..b817c60ec 100755 --- a/configure +++ b/configure @@ -80,9 +80,9 @@ all-progress: install: if test -n "\$(DESTDIR)"; then \\ - $WAF install --yes --destdir="\$(DESTDIR)" ; \\ + $WAF install --destdir="\$(DESTDIR)" ; \\ else \\ - $WAF install --yes ; \\ + $WAF install ; \\ fi; uninstall: diff --git a/src/file.js b/src/file.js index 9e8da416b..3c0f76aee 100644 --- a/src/file.js +++ b/src/file.js @@ -40,7 +40,11 @@ File.cat = function (path, callback) { } File.prototype.puts = function (data, callback) { - this.write(data + "\n", callback); + this.write(data + "\n", -1, callback); +}; + +File.prototype.print = function (data, callback) { + this.write(data, -1, callback); }; File.prototype.open = function (path, mode, callback) { diff --git a/src/main.js b/src/main.js index 5195f4992..59298406c 100644 --- a/src/main.js +++ b/src/main.js @@ -126,7 +126,7 @@ node.path = new function () { function finish() { //node.debug("finish 1 load <" + filename + ">"); if (scaffold.onLoad instanceof Function) { - //node.debug("foo bar <" + filename + ">"); + //node.debug("calling onLoad for <" + filename + ">"); scaffold.onLoad(); } //node.debug("finish 2 load <" + filename + ">");