8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
13 lines
269 B
Bash
13 lines
269 B
Bash
thisroot () {
|
|
# Workaround thisroot.sh dependency on man
|
|
if [ -z "${MANPATH-}" ]; then
|
|
MANPATH=:
|
|
fi
|
|
local oldOpts="-u"
|
|
shopt -qo nounset || oldOpts="+u"
|
|
set +u
|
|
source @out@/bin/thisroot.sh
|
|
set "$oldOpts"
|
|
}
|
|
|
|
postHooks+=(thisroot)
|