From cd9c78998e84568d85bb850d892adee5ea5710b6 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sat, 16 Mar 2013 09:47:10 +0100 Subject: [PATCH] Fix path.join in Settings.js --- 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 45f81aa5f..901ac5146 100644 --- a/src/node/utils/Settings.js +++ b/src/node/utils/Settings.js @@ -142,7 +142,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(root, settingsFilename)); + settingsFilename = path.resolve(path.join(exports.root, settingsFilename)); var settingsStr; try{