[gtk-doc] rebase: Don't crash if a .devhelp2.gz file is present



commit 6c7c1e571f91997d0895ac6a87f3a417376d0536
Author: gkrithi8 <gkrithi8 gmail com>
Date:   Tue Oct 17 01:25:14 2017 +0530

    rebase: Don't crash if a .devhelp2.gz file is present
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788473

 gtkdoc/rebase.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc/rebase.py b/gtkdoc/rebase.py
index d6affe3..c083ee0 100755
--- a/gtkdoc/rebase.py
+++ b/gtkdoc/rebase.py
@@ -119,7 +119,7 @@ gunzip %s/%s
         elif entry.endswith('.devhelp2.gz') and not os.path.exists(full_entry[:-3]):
             # debian/ubuntu started to compress this as *devhelp2.gz :/
             print('''Please fix https://bugs.launchpad.net/ubuntu/+source/gtk-doc/+bug/1466210 . For now run:
-gunzip %d/%s
+gunzip %s/%s
 ''' % (scan_dir, entry))
         # we could consider supporting: gzip module
 


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