JSDOC/Options.js
[gnome.introspection-doc-generator] / JSDOC / Options.js
index 0a9391e..a85908a 100644 (file)
@@ -136,7 +136,11 @@ Options = {
                 message: "No template Directory specified" 
             };
         }
-         
+        if (this.template[0] !='/') {
+            this.template = this.baseDir + '/' + this.template;
+        }
+        
+        
         if (!this.target) {
             throw {
                 name: "ArgumentError",