texlive[43973] Master/tlpkg/TeXLive/TLUtils.pm: Shortcut target
commits+siepo at tug.org
commits+siepo at tug.org
Sat Apr 22 13:34:58 CEST 2017
Revision: 43973
http://tug.org/svn/texlive?view=revision&revision=43973
Author: siepo
Date: 2017-04-22 13:34:57 +0200 (Sat, 22 Apr 2017)
Log Message:
-----------
Shortcut target missing: not an error
Modified Paths:
--------------
trunk/Master/tlpkg/TeXLive/TLUtils.pm
Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm 2017-04-22 09:03:36 UTC (rev 43972)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm 2017-04-22 11:34:57 UTC (rev 43973)
@@ -1669,8 +1669,8 @@
if (!(-e $cmd) or !(-r $cmd)) {
tlwarn("Target of shortcut action does not exist: $cmd\n")
if $cmd =~ /\.(exe|bat|cmd)$/i;
- # if not an executable, just omit shortcut silently
- return 0;
+ # if not an executable, just omit shortcut silently: no error
+ return 1;
}
$cmd = conv_to_w32_path($cmd);
}
More information about the tex-live-commits
mailing list