summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2016-04-18 01:41:22 +0000
committerNorbert Preining <preining@logic.at>2016-04-18 01:41:22 +0000
commitece6b73f0070a158a0997baa176118358d5a6205 (patch)
treeb7fcb13f74a146aac4ffcdbf9f6ee7f425e60bae /Master/tlpkg
parent7731b26164be6906b49650837d7e0f822bba8778 (diff)
fix detection of texlive.gpg.win32 gpg
git-svn-id: svn://tug.org/texlive/trunk@40585 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-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