forked from lix-project/hydra
Merge pull request #595 from kquick/darcs_cache_dir
Fix darcs input to use darcs-specific SCM cache dir.
This commit is contained in:
commit
0bc548ee2d
|
@ -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