www

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

commit 80dc7be1be847910d80aabf3cc3742bf18a0d7da
parent 651bcf2380feef12a596daed68654d00a56b76ab
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 13 Oct 2008 20:11:43 +0000

Allow SVN builds without SVN root to still start


Diffstat:
Mchrome/content/zotero/xpcom/schema.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -326,7 +326,7 @@ Zotero.Schema = new function(){ while (entries.hasMoreElements()) { var file = entries.getNext(); file.QueryInterface(Components.interfaces.nsIFile); - if (!file.leafName.match(fileNameRE) || file.isDirectory()) { + if (!file.exists || !file.leafName.match(fileNameRE) || file.isDirectory()) { continue; } var newObj = new Zotero[Mode](file);