summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg/ghc-pkg.wrapper
diff options
context:
space:
mode:
authorPaolo Capriotti <p.capriotti@gmail.com>2012-05-04 13:04:43 +0100
committerPaolo Capriotti <p.capriotti@gmail.com>2012-05-15 08:22:42 +0100
commitca2debb201bf44b518bc06a8d37ca1017ccf390f (patch)
tree95a367120912de4bced45658320d79289fd70a49 /utils/ghc-pkg/ghc-pkg.wrapper
parent6a831be4aa73e86568256813ffa862d7cfd5732d (diff)
downloadhaskell-ca2debb201bf44b518bc06a8d37ca1017ccf390f.tar.gz
Rename package-conf flags to package-db.
Rename package database flags in both GHC and ghc-pkg so that they are consistent with Cabal nomenclature. Add a version check to the build system so that the correct set of package db flags are used when the bootstrapping GHC has version < 7.5.
Diffstat (limited to 'utils/ghc-pkg/ghc-pkg.wrapper')
-rw-r--r--utils/ghc-pkg/ghc-pkg.wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-pkg/ghc-pkg.wrapper b/utils/ghc-pkg/ghc-pkg.wrapper
index fad4bdfca0..3a14de1e22 100644
--- a/utils/ghc-pkg/ghc-pkg.wrapper
+++ b/utils/ghc-pkg/ghc-pkg.wrapper
@@ -1,5 +1,5 @@
#!/bin/sh
PKGCONF="$topdir/package.conf.d"
-exec "$executablename" --global-conf "$PKGCONF" ${1+"$@"}
+exec "$executablename" --global-package-db "$PKGCONF" ${1+"$@"}