xin/pkgs/setup-hook.sh

10 lines
201 B
Bash
Raw Permalink Normal View History

addHarepath() {
for haredir in third-party stdlib; do
if [[ -d "$1/src/hare/$haredir" ]]; then
addToSearchPath HAREPATH "$1/src/hare/$haredir"
fi
done
}
addEnvHooks "$hostOffset" addHarepath