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