[gtk-doc] rebase: fix variable name



commit 96a6a58c41759d71d2e80105d878c9dbbd57e4fc
Author: Stefan Sauer <ensonic users sf net>
Date:   Mon May 30 21:53:13 2016 +0200

    rebase: fix variable name

 gtkdoc-rebase.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc-rebase.in b/gtkdoc-rebase.in
index 7708228..127f7a6 100644
--- a/gtkdoc-rebase.in
+++ b/gtkdoc-rebase.in
@@ -179,14 +179,14 @@ sub ScanDirectory {
             $onlinedir = &ReadIndex($dir, $file);
             $have_index = 1;
         }
-        elsif (($file eq "index.sgml.gz") && ! (-e "$scan_dir/index.sgml")) {
+        elsif (($file eq "index.sgml.gz") && ! (-e "$dir/index.sgml")) {
             # debian/ubuntu started to compress this as index.sgml.gz :/
             print <<EOF;
 Please fix https://bugs.launchpad.net/ubuntu/+source/gtk-doc/+bug/77138 . For now run:
 gunzip $dir/$file
 EOF
         }
-        elsif (($file =~ m/\.devhelp2.gz$/) && ! (-e "$scan_dir/$1.devhelp2")) {
+        elsif (($file =~ m/\.devhelp2.gz$/) && ! (-e "$dir/$1.devhelp2")) {
             # debian/ubuntu started to compress this as *devhelp2.gz :/
             print <<EOF;
 Please fix https://bugs.launchpad.net/ubuntu/+source/gtk-doc/+bug/1466210 . For now run:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]