2008-02-12 11:41:00 +01:00
|
|
|
addGuileLibPath () {
|
2008-04-09 10:15:30 +02:00
|
|
|
if test -d "$1/share/guile/site"
|
2008-02-12 11:41:00 +01:00
|
|
|
then
|
2008-04-09 10:15:30 +02:00
|
|
|
export GUILE_LOAD_PATH="${GUILE_LOAD_PATH}${GUILE_LOAD_PATH:+:}$1/share/guile/site"
|
2008-02-12 11:41:00 +01:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
envHooks=(${envHooks[@]} addGuileLibPath)
|