JSDOC/Packer.js
[gnome.introspection-doc-generator] / JSDOC / Packer.js
index 7259560..272a1a2 100644 (file)
@@ -75,7 +75,7 @@ Packer = function(cfg)
     if (!this.target) {
         throw "No Target";
     }
-    if ((typeof(cfg.tmpDir) != 'undefined') && (!cfg.cleanup)) {
+    if (this.tmpDir  != Packer.prototype.tmpDir) && (!cfg.cleanup)) {
         this.cleanup = false; // do not clean up files.. = as tmpdir is set.
     }