[project @ 2002-02-03 17:06:12 by sof]
authorsof <unknown>
Sun, 3 Feb 2002 17:06:12 +0000 (17:06 +0000)
committersof <unknown>
Sun, 3 Feb 2002 17:06:12 +0000 (17:06 +0000)
commit5f67cbb7605e7808ae615f95b1afac86113b7f0f
treec23821559eb7d9ae4b03b4c67f89a2c06f2d0998
parent03adec57df0275bdc9f2578be2e81c4e8e03a497
[project @ 2002-02-03 17:06:12 by sof]
Provide support for authors that want to distribute packages, by
expanding occurrences of "${foo}" in an input package spec with
the value of the 'foo' environment variable. This permits easy
configuration at install-time, e.g.,

  $ libdir=/opt/haskell/packages/lib ghc-pkg -a < NewPackage.pkg

[Clearly, a separate preprocessing pass using some other tool could
 provide identical functionality. However, the benefits to the
 package author of not having to depend on such a tool being present
 on a user's box was considered more important.
]
ghc/utils/ghc-pkg/Main.hs