13 lines
280 B
Plaintext
13 lines
280 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
export PSEUDO_PREFIX="$(dirname "${0%/*}")"
|
||
|
export PSEUDO_OPTS="-t0"
|
||
|
if [ -n "${TARGET_DIR}" ]; then
|
||
|
export PSEUDO_PASSWD="${TARGET_DIR}"
|
||
|
fi
|
||
|
if [ -n "${BASE_DIR}" ]; then
|
||
|
export PSEUDO_LOCALSTATEDIR="${BASE_DIR}/build/.pseudodb"
|
||
|
fi
|
||
|
|
||
|
exec "${0%-wrapper}" "${@}"
|