www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 2f275a187c946f452b3286fb1b786651c5f8f53c
parent a5bc68bc17a0cb994d03f3ce1ad966148ddd534f
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 29 Aug 2013 11:46:30 -0400

Fix path for translators/styles directories in symlinked dev Standalone build

Diffstat:
Mchrome/content/zotero/xpcom/schema.js | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -512,10 +512,11 @@ Zotero.Schema = new function(){ xpiZipReader.open(installLocation); if(Zotero.isStandalone && !xpiZipReader.hasEntry("translators.index")) { - // Symlinked Standalone build - var installLocation2 = installLocation.parent; - installLocation2.append("translators"); - if(installLocation2.exists()) { + // Symlinked dev Standalone build + var installLocation2 = installLocation.parent, + translatorsDir = installLocation2.clone(); + translatorsDir.append("translators"); + if(translatorsDir.exists()) { installLocation = installLocation2; isUnpacked = true; xpiZipReader.close();