From ece6b73f0070a158a0997baa176118358d5a6205 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 18 Apr 2016 01:41:22 +0000 Subject: fix detection of texlive.gpg.win32 gpg git-svn-id: svn://tug.org/texlive/trunk@40585 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 6 ++++-- 1 file 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 -- cgit v1.2.3