Guile: Use `share/guile/site' as the standard Guile module location.

svn path=/nixpkgs/trunk/; revision=11507
This commit is contained in:
Ludovic Courtès
2008-04-09 08:15:30 +00:00
parent 4126f26c7e
commit 144e3b4e9d
2 changed files with 2 additions and 10 deletions
@@ -1,7 +1,7 @@
addGuileLibPath () {
if test -d "$1/lib/site-guile"
if test -d "$1/share/guile/site"
then
export GUILE_LOAD_PATH="${GUILE_LOAD_PATH}${GUILE_LOAD_PATH:+:}$1/lib/site-guile"
export GUILE_LOAD_PATH="${GUILE_LOAD_PATH}${GUILE_LOAD_PATH:+:}$1/share/guile/site"
fi
}