# HG changeset patch # User Andrew Shadura # Date 2016-07-12 23:33:11 # Node ID 855ba1f07aeb437483138d48d7929f0ff8c38b67 # Parent 23057179017f5760734d7e8639a1ac9910a14e1d docs: use ., not source, as the user isn't guaranteed to have it Even though bash is the default shell nearly everywhere, a restricted user running Kallithea doesn't necessarily have it as the default, so better use POSIX-compatible . command. Besided, it's also shorter. diff --git a/docs/installation.rst b/docs/installation.rst --- a/docs/installation.rst +++ b/docs/installation.rst @@ -54,7 +54,7 @@ repository, follow the instructions belo hg clone https://kallithea-scm.org/repos/kallithea -u stable cd kallithea virtualenv ../kallithea-venv - source ../kallithea-venv/bin/activate + . ../kallithea-venv/bin/activate pip install --upgrade pip setuptools pip install -e . python2 setup.py compile_catalog # for translation of the UI @@ -81,7 +81,7 @@ An additional benefit of virtualenv_ is - Activate the virtualenv_ in your current shell session and make sure the basic requirements are up-to-date by running:: - source /srv/kallithea/venv/bin/activate + . /srv/kallithea/venv/bin/activate pip install --upgrade pip setuptools .. note:: You can't use UNIX ``sudo`` to source the ``virtualenv`` script; it