Fix darcs input to use darcs-specific SCM cache dir.

Currently re-using the git cache dir which could cause overlap problems.
This commit is contained in:
Kevin Quick 2018-09-09 22:04:32 -07:00
parent b7c42a38a3
commit 35bcab74ed

View file

@ -22,7 +22,7 @@ sub fetchInput {
my $storePath;
my $revCount;
my $cacheDir = getSCMCacheDir . "/git";
my $cacheDir = getSCMCacheDir . "/darcs";
mkpath($cacheDir);
my $clonePath = $cacheDir . "/" . sha256_hex($uri);
$uri =~ s|^file://||; # darcs wants paths, not file:// uris