]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python: avoid long paths (part 2) 8276/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 23 Mar 2016 12:14:17 +0000 (13:14 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 23 Mar 2016 12:31:51 +0000 (13:31 +0100)
commitc540835cf3dde2a91e582879fd6997b41b5c9cf0
treeae7fc95e93fdcd5ed5211449c5f0cdafee3b41f6
parentd92612f3641d0397940026e81caf29f971c07fa9
python: avoid long paths (part 2)

make CEPH_BUILD_VIRTUALENV=/tmp TESTS=ceph-detect-init/run-tox.sh check

sets the CEPH_DETECT_INIT_VIRTUALENV environment variable

CEPH_BUILD_VIRTUALENV=/tmp make TESTS=ceph-detect-init/run-tox.sh check

does not because Makefile-env.am overrides it.

Do not set CEPH_BUILD_VIRTUALENV in Makefile-env.am so the variable from
the environment can be used. Require that CEPH_BUILD_VIRTUALENV has a
trailing slash so that the default is just an empty variable.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/Makefile-env.am
src/ceph-detect-init/Makefile.am
src/ceph-disk/Makefile.am