From 1d255f689748097557612d6a79273cfd194f8b99 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 30 Jun 2010 17:49:45 +0800 Subject: [PATCH] JSDOC/Options.js --- JSDOC/Options.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.. -- 2.39.2