diff options
author | Igor Gnatenko <ignatenko@src.gnome.org> | 2015-08-02 00:13:20 +0300 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2015-08-16 11:59:56 +0200 |
commit | 12adab6b0a28aec4008c6deed247bf944b5882f2 (patch) | |
tree | 624ddab3d410612c824464c669d78bfc40f72dda /gtkdoc-mkhtml.in | |
parent | 391b9f1642a86a47a84f866c769beb9fc3946ece (diff) | |
download | gtk-doc-12adab6b0a28aec4008c6deed247bf944b5882f2.tar.gz |
mkhtml/pdf: quote document to allow spaces in filenames
Reference: https://bugzilla.gnome.org/show_bug.cgi?id=753145
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
Diffstat (limited to 'gtkdoc-mkhtml.in')
-rw-r--r-- | gtkdoc-mkhtml.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in index bbdb5c3..12aa9f2 100644 --- a/gtkdoc-mkhtml.in +++ b/gtkdoc-mkhtml.in @@ -27,7 +27,7 @@ while true; do X--help) usage; exit 0;; X--uninstalled) uninstalled=yes; shift;; X--verbose) verbose="1"; shift;; - X--path=*) searchpath=`echo $1 | sed s/.*=//`; shift;; + X--path=*) searchpath=`echo "$1" | sed s/.*=//`; shift;; X--*) shift;; X*) break;; esac @@ -38,9 +38,9 @@ if test $# -lt 2; then exit 1 fi -module=$1 +module="$1" shift -document=$1 +document="$1" shift quiet="1" @@ -86,13 +86,13 @@ fi #echo @XSLTPROC@ $path_arg --nonet --xinclude \ # --stringparam gtkdoc.bookname $module \ # --stringparam gtkdoc.version "@VERSION@" \ -# "$@" $gtkdocdir/gtk-doc.xsl $document +# "$@" $gtkdocdir/gtk-doc.xsl "$document" @XSLTPROC@ 2>profile.txt $profile_args $path_arg --nonet --xinclude \ --stringparam gtkdoc.bookname $module \ --stringparam gtkdoc.version "@VERSION@" \ --stringparam chunk.quietly $quiet \ --stringparam chunker.output.quiet $quiet \ - "$@" $gtkdocdir/gtk-doc.xsl $document || exit $? + "$@" $gtkdocdir/gtk-doc.xsl "$document" || exit $? # profiling if test "$GTKDOC_PROFILE" != ""; then |