change location of user's package directory
Brandon Allbery
allbery.b at gmail.com
Sun Jul 28 16:19:46 CEST 2013
On Sun, Jul 28, 2013 at 5:35 AM, harry <voldermort at hotmail.com> wrote:
> $ ghc-pkg check --package-db=~/cabal
> ghc-pkg: ~/cabal: openFile: does not exist (No such file or directory)
> $ ls ~/cabal
> package.cache
>
Yet another reason to avoid ~... it's (a) only expanded by the shell, and
(b) not reliably expanded even by the shell if it's not the very start of a
word (as here where it is after =). Use $HOME instead.
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20130728/754b1995/attachment.htm>
More information about the Glasgow-haskell-users
mailing list