]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix env vars of `run-tox.sh` 26977/head
authorPatrick Nawracay <pnawracay@suse.com>
Fri, 15 Mar 2019 10:21:52 +0000 (10:21 +0000)
committerPatrick Nawracay <pnawracay@suse.com>
Mon, 18 Mar 2019 14:19:11 +0000 (15:19 +0100)
Fixes: http://tracker.ceph.com/issues/38798
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
src/pybind/mgr/dashboard/run-tox.sh

index 33a7db0cef274d169a5168e2232e9e6ce740046c..412754656494d45e841a4ba44c19626d8fe96fd2 100755 (executable)
@@ -1,10 +1,10 @@
 #!/usr/bin/env bash
 
 # run from ./ or from ../
+: ${CEPH_BUILD_DIR:=$PWD/.tox}
 : ${MGR_DASHBOARD_VIRTUALENV:=$CEPH_BUILD_DIR/mgr-dashboard-virtualenv}
 : ${WITH_PYTHON2:=ON}
 : ${WITH_PYTHON3:=ON}
-: ${CEPH_BUILD_DIR:=$PWD/.tox}
 test -d dashboard && cd dashboard
 
 if [ -e tox.ini ]; then