X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fghc-pkg%2Fghc-pkg.wrapper;h=fad4bdfca02ddaebe56a856465c134c33c19f6f3;hb=e5c3b478b3cd1707cf122833822f44b2ac09b8e9;hp=1c2b5d2b7554f4dd46c5cc321b96a4cf3d00fe64;hpb=eed437cdefb952e6c70e58012b23d436e74710af;p=ghc-hetmet.git diff --git a/utils/ghc-pkg/ghc-pkg.wrapper b/utils/ghc-pkg/ghc-pkg.wrapper index 1c2b5d2..fad4bdf 100644 --- a/utils/ghc-pkg/ghc-pkg.wrapper +++ b/utils/ghc-pkg/ghc-pkg.wrapper @@ -1,4 +1,5 @@ +#!/bin/sh -PKGCONF=$datadir/package.conf -exec $executablename --global-conf $PKGCONF ${1+"$@"} +PKGCONF="$topdir/package.conf.d" +exec "$executablename" --global-conf "$PKGCONF" ${1+"$@"}