summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2012-05-17 00:12:40 +0000
committerNorbert Preining <preining@logic.at>2012-05-17 00:12:40 +0000
commitfac27757d3354c480b022e49fec724981fe64407 (patch)
tree6701584a7d8ef709d0b4dd8601fa2403328bf88d /Master
parentc95eec04b79848e4089ba5b751f588df813e228f (diff)
remove whitespace around pinned package names
git-svn-id: svn://tug.org/texlive/trunk@26461 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 72bf5390204..0cfb61bc74f 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -2363,6 +2363,9 @@ sub make_pin_data_from_line {
}
# split the package globs
for (split(/,/, $b)) {
+ # remove leading and terminal white space
+ s/^\s*//;
+ s/\s*$//;
my %mm = %m;
$mm{'glob'} = $_;
$mm{'re'} = glob_to_regex($_);