Skip to content

Commit 67570c9

Browse files
committed
Revert "doc/dev: Running workunits locally"
This reverts commit 7324abb. Signed-off-by: Matan Breizman <[email protected]>
1 parent 0242368 commit 67570c9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/vstart.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,8 +1758,11 @@ echo ""
17581758
echo "export PYTHONPATH=$PYBIND:$CYTHON_PYTHONPATH:$CEPH_PYTHON_COMMON\$PYTHONPATH"
17591759
echo "export LD_LIBRARY_PATH=$CEPH_LIB:\$LD_LIBRARY_PATH"
17601760
echo "export PATH=$CEPH_DIR/bin:\$PATH"
1761-
echo "export CEPH_CONF=$conf_fn"
1762-
echo "export CEPH_KEYRING=$keyring_fn"
1761+
1762+
if [ "$CEPH_DIR" != "$PWD" ]; then
1763+
echo "export CEPH_CONF=$conf_fn"
1764+
echo "export CEPH_KEYRING=$keyring_fn"
1765+
fi
17631766

17641767
if [ -n "$CEPHFS_SHELL" ]; then
17651768
echo "alias cephfs-shell=$CEPHFS_SHELL"

0 commit comments

Comments
 (0)