Fix parsing "$topdir" in package config
authorIan Lynagh <igloo@earth.li>
Fri, 10 Jun 2011 17:40:05 +0000 (18:40 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 10 Jun 2011 17:40:05 +0000 (18:40 +0100)
commit091fceaeb313c2d2504c005ddc1067ad6f9c60c6
treec4dfadfd08cd628e1082c30429d67a652b0f8fb9
parent77ffb1afd2eca3c338e7e7059827f6813ec81198
Fix parsing "$topdir" in package config

It was only working when followed by something, e.g. "$topdir/base".
compiler/main/Packages.lhs
utils/ghc-pkg/Main.hs