projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add OSTYPE build-system variable, and use it
[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
27b8ced
..
fad4bdf
100644
(file)
--- a/
utils/ghc-pkg/ghc-pkg.wrapper
+++ b/
utils/ghc-pkg/ghc-pkg.wrapper
@@
-1,5
+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+"$@"}