forked from lix-project/hydra
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:
parent
b7c42a38a3
commit
35bcab74ed
|
@ -22,7 +22,7 @@ sub fetchInput {
|
||||||
my $storePath;
|
my $storePath;
|
||||||
my $revCount;
|
my $revCount;
|
||||||
|
|
||||||
my $cacheDir = getSCMCacheDir . "/git";
|
my $cacheDir = getSCMCacheDir . "/darcs";
|
||||||
mkpath($cacheDir);
|
mkpath($cacheDir);
|
||||||
my $clonePath = $cacheDir . "/" . sha256_hex($uri);
|
my $clonePath = $cacheDir . "/" . sha256_hex($uri);
|
||||||
$uri =~ s|^file://||; # darcs wants paths, not file:// uris
|
$uri =~ s|^file://||; # darcs wants paths, not file:// uris
|
||||||
|
|
Loading…
Reference in a new issue