mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Resolve tox substitutions to absolute paths
Since tox-3.8.0 the substituted virtualenv-paths of tox
(like {envpython} or {envsitepackagesdir}) have become relative.
The documentation says nothing about this. Thus, these paths
should always be resolved as absolute.
https://github.com/tox-dev/tox/issues/1339
Fixes: https://pagure.io/freeipa/issue/7977
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
committed by
Alexander Bokovoy
parent
910ff25bad
commit
77bfd5f9b6
@@ -2,8 +2,8 @@
|
||||
set -ex
|
||||
|
||||
FLAVOR="$1"
|
||||
ENVPYTHON="$2"
|
||||
ENVSITEPACKAGESDIR="$3"
|
||||
ENVPYTHON="$(realpath "$2")"
|
||||
ENVSITEPACKAGESDIR="$(realpath "$3")"
|
||||
# 3...end are package requirements
|
||||
shift 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user