projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small refactoring
[ghc-hetmet.git]
/
utils
/
ghc-pkg
/
ghc-pkg.wrapper
diff --git
a/utils/ghc-pkg/ghc-pkg.wrapper
b/utils/ghc-pkg/ghc-pkg.wrapper
index
1c2b5d2
..
fad4bdf
100644
(file)
--- 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+"$@"}