JSDOC/Options.js
[gnome.introspection-doc-generator] / JSDOC / Options.js
index 70a94ee..b90f6db 100644 (file)
@@ -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..