From: Alan Knowles Date: Wed, 30 Jun 2010 09:49:45 +0000 (+0800) Subject: JSDOC/Options.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=1d255f689748097557612d6a79273cfd194f8b99 JSDOC/Options.js --- diff --git a/JSDOC/Options.js b/JSDOC/Options.js index 70a94ee..b90f6db 100644 --- a/JSDOC/Options.js +++ b/JSDOC/Options.js @@ -100,7 +100,8 @@ Options = { // this is most likely to come from the command line.. if (this.conf) { - XObject.extend(this, JSON.parse(File.read(this.conf)));; + var conf = this.conf[0] == '/' ? this.conf : this.baseDir + '/' + this.conf; + XObject.extend(this, JSON.parse(File.read(conf)));; } // help ?? -- usage..