Changeset - 855ba1f07aeb
[Not reviewed]
default
0 1 0
Andrew Shadura - 10 years ago 2016-07-12 23:33:11
andrew@shadura.me
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.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
docs/installation.rst
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)