summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLTREE.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLTREE.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLTREE.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm
index f979618b303..8b508bef634 100644
--- a/Master/tlpkg/TeXLive/TLTREE.pm
+++ b/Master/tlpkg/TeXLive/TLTREE.pm
@@ -45,6 +45,13 @@ sub init_from_statusfile {
close(TMP);
$self->_initialize_lines(@lines);
}
+sub init_from_files {
+ my $self = shift;
+ my $svnroot = $self->{'svnroot'};
+ my @lines = `find $svnroot ! -wholename '*/.svn*'`;
+ @lines = map { s@^$svnroot@@; s@^/@@; " 1 1 dummy $_" } @lines;
+ $self->_initialize_lines(@lines);
+}
sub _initialize_lines {
my $self = shift;
@@ -217,6 +224,7 @@ sub _get_matching_files {
# . -> \.
# * -> .*
# ? -> .
+# + -> \+
sub _get_files_matching_glob_pattern {
my $self = shift;
my ($type,$globline) = @_;