Compare commits

...

1 Commits

Author SHA1 Message Date
Marcel Klehr 440e8049b0 Allow --settings cli arg to be an absolute path 2014-03-30 14:32:44 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ exports.abiwordAvailable = function()
exports.reloadSettings = function reloadSettings() { exports.reloadSettings = function reloadSettings() {
// Discover where the settings file lives // Discover where the settings file lives
var settingsFilename = argv.settings || "settings.json"; var settingsFilename = argv.settings || "settings.json";
settingsFilename = path.resolve(path.join(exports.root, settingsFilename)); settingsFilename = path.resolve(exports.root, settingsFilename);
var settingsStr; var settingsStr;
try{ try{