chiark / gitweb /
run debian/rules patch
[inn-innduct.git] / scripts / innreport.in
index 334f7488f2c6e20371a27401ea3b08d0658576ca..241d10e00bf612642657780fb1688700ecbac754 100644 (file)
@@ -212,7 +212,7 @@ $IMG_pth = $ref{'w'} if defined $ref{'w'};
 $IMG_pth = $ref{'webpath'} if defined $ref{'webpath'};
 
 $IMG_dir = $HTML_dir . "/" . $IMG_pth
-  if (defined $output{'default'}{'html_dir'} ||
+  if (defined $output{'default'}{'img_dir'} ||
        defined $ref{'w'} || defined $ref{'webpath'})
       &&
       (defined $output{'default'}{'html_dir'} ||