2008-02-12 10:41:00 +00:00
|
|
|
addGuileLibPath () {
|
2008-04-09 09:15:30 +01:00
|
|
|
if test -d "$1/share/guile/site"
|
2008-02-12 10:41:00 +00:00
|
|
|
then
|
2008-04-09 09:15:30 +01:00
|
|
|
export GUILE_LOAD_PATH="${GUILE_LOAD_PATH}${GUILE_LOAD_PATH:+:}$1/share/guile/site"
|
2008-02-12 10:41:00 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2014-07-08 13:20:05 +01:00
|
|
|
envHooks+=(addGuileLibPath)
|