diff options
Diffstat (limited to 'test-functions')
-rwxr-xr-x | test-functions | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test-functions b/test-functions index 0b987ab..d086e16 100755 --- a/test-functions +++ b/test-functions @@ -664,7 +664,11 @@ export TZ=UTC testnum=0 rc=0 -if ! . ./functions.sh; then +if [ "${PORTAGE_BIN_PATH}" ] && [ "${S}" ]; then + genfun_basedir=${S} +fi + +if ! GENFUN_MODULES="portage rc" . ./functions.sh; then bailout "Couldn't source ./functions.sh" fi |