159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
17 lines
358 B
Bash
17 lines
358 B
Bash
addEmiluaPath() {
|
|
addToSearchPathWithCustomDelimiter : EMILUA_PATH $1/@sitePackages@
|
|
}
|
|
|
|
toEmiluaPath() {
|
|
local paths="$1"
|
|
local result=
|
|
for i in $paths; do
|
|
p="$i/@sitePackages@"
|
|
result="${result}${result:+:}$p"
|
|
done
|
|
echo $result
|
|
}
|
|
|
|
if [ -z "${dontAddEmiluaPath:-}" ]; then
|
|
addEnvHooks "$hostOffset" addEmiluaPath
|
|
fi
|