[yelp-tools] yelp-build: Fixed media copying with -i for Mallard



commit 6286b53fe217657d527c5776dff177e15f6372a1
Author: Shaun McCance <shaunm gnome org>
Date:   Sun May 31 09:08:05 2015 -0400

    yelp-build: Fixed media copying with -i for Mallard
    
    When I changed the way yelp-build finds media files for Mallard
    documents, I forgot to change a variable name in one place. So
    the -i option to ignore missing media files actually causes it
    to ignore all media files.

 tools/yelp-build.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/yelp-build.in b/tools/yelp-build.in
index aab171f..a38bbf8 100755
--- a/tools/yelp-build.in
+++ b/tools/yelp-build.in
@@ -449,7 +449,7 @@ yelp_html_mal2html () {
         if [ "$line_src" != "$line_dest" ]; then
             line_dir=`dirname "$line_dest"`
             mkdir_p "$line_dir"
-            if [ -f "$minput" -o "x$html_ignore_media" != "x1" ]; then
+            if [ -f "$line_src" -o "x$html_ignore_media" != "x1" ]; then
                 cp "$line_src" "$line_dest"
             fi
         fi


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