aboutsummaryrefslogtreecommitdiff
blob: 406771620d7e9d8c32d8d6642e6da9f99958f0cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 7dfce929c2a21d56677695b42953b6f42b05d99d Mon Sep 17 00:00:00 2001
From: Mikle Kolyada <zlogene@gentoo.org>
Date: Sun, 2 Jun 2019 13:50:24 +0300
Subject: [PATCH 2/6] normalize all updmap path

https://bugs.gentoo.org/show_bug.cgi?id=428350
Normalize the path here too otherwise it may fail.

Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
---
 texk/texlive/linked_scripts/texlive/updmap.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/texk/texlive/linked_scripts/texlive/updmap.pl b/texk/texlive/linked_scripts/texlive/updmap.pl
index d1cfe6c5..f0ad22e2 100755
--- a/texk/texlive/linked_scripts/texlive/updmap.pl
+++ b/texk/texlive/linked_scripts/texlive/updmap.pl
@@ -1491,7 +1491,7 @@ sub setOptions {
 
 sub enable_disable_maps {
   my (@what) = @_;
-  my $tc = $alldata->{'changes_config'};
+  my $tc = Cwd::abs_path($alldata->{'changes_config'}); 
   die "$prg: top config file $tc has not been read."
     if (!defined($alldata->{'updmap'}{$tc}));
 
-- 
2.21.0