Commit c15f211f authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Find Cygwin path

Search for cygwin bash.exe under current directory
parent ec40009d
......@@ -5,6 +5,9 @@ var BAAS_HOME_DIR = '.baas';
var CLOUDS_CONF_FILE = 'clouds.rc';
var BACKUP_CONF_FILE = 'backups.rc';
var exec_path = path.dirname(process.execPath);
var CYGWIN_BASH = path.join(exec_path, "bin", "bash.exe");
function get_user_home() {
return process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment