changeset 6002:855ba1f07aeb

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.
author Andrew Shadura <andrew@shadura.me>
date Tue, 12 Jul 2016 23:33:11 +0200
parents 23057179017f
children a90f8f33adeb
files docs/installation.rst
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/docs/installation.rst	Tue Jul 12 23:31:02 2016 +0200
+++ b/docs/installation.rst	Tue Jul 12 23:33:11 2016 +0200
@@ -54,7 +54,7 @@
         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 @@
 - 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