3 if [ "${0##*/}" = "fakeroot" ]; then
5 WARNING: fakeroot has been replaced with pseudo.
6 WARNING: Update your script(s) to use pseudo or pseudo-wrapper instead.
10 export PSEUDO_PREFIX
="$(dirname "${0%/*}")"
11 export PSEUDO_OPTS
="-t0"
12 if [ -n "${TARGET_DIR}" ]; then
13 export PSEUDO_PASSWD
="${TARGET_DIR}"
15 if [ -n "${BASE_DIR}" ]; then
16 export PSEUDO_LOCALSTATEDIR
="${BASE_DIR}/build/.pseudodb"
19 exec "${0%/*}/pseudo" "${@}"