Merge pull request #595 from kquick/darcs_cache_dir

Fix darcs input to use darcs-specific SCM cache dir.
This commit is contained in:
Eelco Dolstra
2018-09-10 10:51:08 +02:00
committed by GitHub

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