From 440e8049b083a90bbbde08096dbf27de83edf248 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sun, 30 Mar 2014 14:32:44 +0200 Subject: [PATCH] Allow --settings cli arg to be an absolute path --- src/node/utils/Settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/Settings.js b/src/node/utils/Settings.js index 4c6b7ea40..b4eff3d11 100644 --- a/src/node/utils/Settings.js +++ b/src/node/utils/Settings.js @@ -172,7 +172,7 @@ exports.abiwordAvailable = function() exports.reloadSettings = function reloadSettings() { // Discover where the settings file lives var settingsFilename = argv.settings || "settings.json"; - settingsFilename = path.resolve(path.join(exports.root, settingsFilename)); + settingsFilename = path.resolve(exports.root, settingsFilename); var settingsStr; try{