Commit b42849ce authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Pass along proper argument to unzip to get the contents of the

datastore directory (append "/*").
parent f66433db
......@@ -1183,6 +1183,15 @@ sub Checkout($$;$$@)
}
my $zipfile = "$repodir/$revision";
# Append * to directories.
for (my $i = 0; $i < scalar(@subdirs); $i++) {
my $subdir = $subdirs[$i];
if ($subdir =~ /\/$/) {
$subdirs[$i] .= "*";
}
}
# Allowed to check out a set of files/dirs
my $subdir_arg = (! @subdirs ? "" :
join(" ", map("'" . $_ . "'", @subdirs)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment