]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Carl Carstenson correctly points out that ConvertFile needs to return the
authorAidan Van Dyk <aidan@ifax.com>
Tue, 20 Feb 2007 13:24:30 +0000 (13:24 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Tue, 20 Feb 2007 13:24:30 +0000 (13:24 +0000)
file name even when there is nothing to do for PDF.  This is needed for
TIFF to.  PostScript already returned the name.

util/common-functions.sh.in

index afb2e63331681cf295658929d1018ee3b15a80a9..015b7ea439c6718447ce42cc87b426c60253a395 100644 (file)
@@ -571,7 +571,7 @@ ConvertFile ()
            case $2 in
                PostScript|Postscript|PS|ps)
                    TraceLog "No conversion"
-                   echo $1
+                   echo "$1"
                    ;;
                PDF|pdf)
                    TraceLog "pdf2ps necessary"
@@ -598,6 +598,7 @@ ConvertFile ()
                    ;;
                PDF|pdf)
                    TraceLog "Nothing necessary"
+                   echo "$1"
                    ;;
                TIFF|tiff|TIF|tif)
                    TraceLog "Using tiff2pdf"
@@ -623,6 +624,7 @@ ConvertFile ()
                    ;;
                TIFF|tiff|TIF|tif)
                    TraceLog "Nothing neccessary"
+                   echo "$1"
                    ;;
            esac
            ;;