This commit is contained in:
overflowerror 2014-07-21 22:33:49 +02:00
parent a4f007cce1
commit 372819d8e3

View file

@ -3,7 +3,7 @@ var LsClass = function() {
LsClass.prototype = new Process(); LsClass.prototype = new Process();
LsClass.prototype.main = function(args) { LsClass.prototype.main = function(args) {
var stdout = this.files['stdout']; var stdout = this.files['stdout'];
var env = this.Environment.array; var env = this.Environment.global;
var folder = ""; var folder = "";
if (args.length == 1) { if (args.length == 1) {
folder = env['PWD']; folder = env['PWD'];