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

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

datastore directory (append "/*").
parent f66433db
......@@ -1182,6 +1182,15 @@ sub Checkout($$;$$@)
$revision = $View->{'revision'};
}
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 ? "" :
......
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