summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index b6d5ce480b5..eec6b91f686 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -3699,8 +3699,10 @@ sub setup_gpg {
}
if (!$found && $^O =~ /^MSWin(32|64)$/i) {
# test on windows also a shipped version from texlive.gpg.win32
- $prg = test_one_gpg("$master/tlpkg/installer/gpg/gpg.exe");
- $found = 1 if ($prg);
+ if (-r "$master/tlpkg/installer/gpg/gpg.exe") {
+ $prg = "$master/tlpkg/installer/gpg/gpg.exe";
+ $found = 1;
+ }
}
return 0 if (!$found);
# ok, we found one