diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-11 10:13:16 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-11 10:13:16 -0400 |
commit | 5ee8944155f21a0ab5a100a184163d7bd0e72679 (patch) | |
tree | 0ac8e79b85c7107b4274e08f18fb4afebdc7fbd7 /scripts | |
parent | ae72be1b8bf65e6b52bc0c9d534e55a79ca6712b (diff) |
Cleanup
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/download-from-binary-cache.pl.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in index f062d17e6..2a70e5193 100644 --- a/scripts/download-from-binary-cache.pl.in +++ b/scripts/download-from-binary-cache.pl.in @@ -233,7 +233,7 @@ sub getCacheId { } -sub cachedGetInfoFrom { +sub getCachedInfoFrom { my ($storePath, $binaryCacheUrl) = @_; $queryNAR->execute(getCacheId($binaryCacheUrl), basename($storePath)); @@ -279,7 +279,7 @@ sub printInfoParallel { foreach my $storePath (@paths) { my $found = 0; foreach my $binaryCacheUrl (@binaryCacheUrls) { - my $info = cachedGetInfoFrom($storePath, $binaryCacheUrl); + my $info = getCachedInfoFrom($storePath, $binaryCacheUrl); if (defined $info) { printInfo($storePath, $info); $found = 1; @@ -323,7 +323,7 @@ sub downloadBinary { my ($storePath) = @_; foreach my $binaryCacheUrl (@binaryCacheUrls) { - my $info = cachedGetInfoFrom($storePath, $binaryCacheUrl); + my $info = getCachedInfoFrom($storePath, $binaryCacheUrl); unless (defined $info) { next if negativeHit($storePath, $binaryCacheUrl); |