[commit: Cabal] master: Use $pkgroot/package/$pkgid.tar.gz as tarball URL (30cb371)
Ian Lynagh
igloo at earth.li
Fri Jun 24 02:03:54 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/30cb371a73b7bf64eb29f4f76327c7908da65871
>---------------------------------------------------------------
commit 30cb371a73b7bf64eb29f4f76327c7908da65871
Author: Duncan Coutts <duncan at haskell.org>
Date: Sat Jul 4 17:06:02 2009 +0000
Use $pkgroot/package/$pkgid.tar.gz as tarball URL
>---------------------------------------------------------------
cabal-install/Distribution/Client/Fetch.hs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/cabal-install/Distribution/Client/Fetch.hs b/cabal-install/Distribution/Client/Fetch.hs
index 6b1a602..85c60ec 100644
--- a/cabal-install/Distribution/Client/Fetch.hs
+++ b/cabal-install/Distribution/Client/Fetch.hs
@@ -223,7 +223,6 @@ packageURI repo pkgid =
(remoteRepoURI repo) {
uriPath = FilePath.Posix.joinPath
[uriPath (remoteRepoURI repo)
- ,"packages"
- ,display pkgid
- ,"tarball"]
+ ,"package"
+ ,display pkgid <.> "tar.gz"]
}
More information about the Cvs-libraries
mailing list