Permalink
Browse files

set env variable ROOTDIR as starting point of archconsole

  • Loading branch information...
1 parent 9dd1ee2 commit 271f20e76447c149d439344d3175d3a4f2f410d0 @outbounder committed Feb 23, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 context/ws/reactions/shells.js
@@ -18,7 +18,7 @@ module.exports.init = function(){
var shell = new Shell(c.data);
shell.uuid = uuid();
shell.user = runtime.user;
- shell.cwd = process.cwd();
+ shell.cwd = process.env.ROOTDIR || process.cwd();
shell.runningCommand = null;
shell.commandsHistory = null;
shell.version = archpackage.version;

0 comments on commit 271f20e

Please sign in to comment.