diff options
author | Deri James <deri@chuzzlewit.myzen.co.uk> | 2023-02-11 13:01:34 +0000 |
---|---|---|
committer | Deri James <deri@chuzzlewit.myzen.co.uk> | 2023-02-11 13:01:34 +0000 |
commit | 398ab1c7722724586f97e3a7ca20714e1d465452 (patch) | |
tree | 9dab4251b98d231a57ab9b670bdeee3afadc0a2b /font | |
parent | 55d35d5949cd4396abadb040cf2680df7a34b074 (diff) | |
download | groff-git-398ab1c7722724586f97e3a7ca20714e1d465452.tar.gz |
[BuildFoundries]: Fails if neither ghostcript nor
URW fonts are installed.
* font/devpdf/util/BuildFoundries.pl: When the change to hold paths
in an array, rather than a delimited string (see commit
4ae4aeb6555f4f16c28fcb03eb1f56577826054c), the FindGSpath
subroutine should return a pointer to an empty array when the
call to ghostscript fails, rather than return an empty string,
as was done previously.
See <https://lists.gnu.org/archive/html/groff/2023-02/msg00042.html>
thanks to Bruno Haible for the report.
Diffstat (limited to 'font')
-rw-r--r-- | font/devpdf/util/BuildFoundries.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/devpdf/util/BuildFoundries.pl b/font/devpdf/util/BuildFoundries.pl index 1e7c416cb..b22925a89 100644 --- a/font/devpdf/util/BuildFoundries.pl +++ b/font/devpdf/util/BuildFoundries.pl @@ -332,7 +332,7 @@ sub LocateFile sub FindGSpath { my (@res)=`@GROFF_GHOSTSCRIPT_INTERPRETERS@ -h 2>/dev/null`; - return '' if $?; + return [] if $?; my $buildpath=[]; my $stg=1; |