]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
build-aux/manconv.sh: Add quotes
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 24 May 2025 09:02:09 +0000 (12:02 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 24 May 2025 09:42:17 +0000 (12:42 +0300)
build-aux/manconv.sh

index 0f5ee0954699982372645a7e2b362a89dfc36bbe..cae5e266b74528ece05a7f36015913d8bea56459 100644 (file)
@@ -42,12 +42,12 @@ case $FORMAT in
                groff -t -mandoc -Tutf8 -P-c | col -bx
                ;;
        ps)
-               sed "$SED_PD" | groff -dpaper=$PAPER -t -mandoc \
-                               -rC1 -rS$FONT -Tps -P-p$PAPER
+               sed "$SED_PD" | groff -dpaper="$PAPER" -t -mandoc \
+                               -rC1 -rS"$FONT" -Tps -P-p"$PAPER"
                ;;
        pdf)
-               sed "$SED_PD" | groff -dpaper=$PAPER -t -mandoc \
-                               -rC1 -rS$FONT -Tps -P-p$PAPER | ps2pdf - -
+               sed "$SED_PD" | groff -dpaper="$PAPER" -t -mandoc \
+                               -rC1 -rS"$FONT" -Tps -P-p"$PAPER" | ps2pdf - -
                ;;
        *)
                echo 'Invalid arguments' >&2