From 3cdd0449bb798e9019d77bfee0427cc1913ed2f9 Mon Sep 17 00:00:00 2001 From: pixelrust Date: Tue, 23 Feb 2016 01:26:25 +0100 Subject: [PATCH] Update manual-installation.md to fix symlinking Added --relative option to instructions for symbolic linking. ln needs this option to create working symbolic links when a non-absolute target path is provided, as in the current examples. --- docs/installation/manual-installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/installation/manual-installation.md b/docs/installation/manual-installation.md index 8ef82021..2aba7555 100644 --- a/docs/installation/manual-installation.md +++ b/docs/installation/manual-installation.md @@ -3,8 +3,8 @@ If you want to setup zanata-cli from manually (without 0install): 1. Navigate to [zanata-cli on Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.zanata%22%20AND%20a%3A%22zanata-cli%22). 1. Download either `dist.zip` or `dist.tar.gz`. 1. Extract the contents of the archive to your location of choice. - 1. Create a symbolic link to the `zanata-cli` script in the bin directory of the extracted archive. e.g. from the archive directory, run `sudo ln -s bin/zanata-cli /usr/local/bin/zanata-cli`. - 1. (optional) you can also enable tab-autocomplete for the client if you use bash as your terminal shell. This can be done by copying or linking the `zanata-cli-completion` script from the bin directory to `/etc/bash_completion.d/`. e.g. `ln -s bin/zanata-cli-completion /etc/bash_completion.d/zanata-cli-completion`. + 1. Create a symbolic link to the `zanata-cli` script in the bin directory of the extracted archive. e.g. from the archive directory, run `sudo ln -s --relative bin/zanata-cli /usr/local/bin/zanata-cli`. + 1. (optional) you can also enable tab-autocomplete for the client if you use bash as your terminal shell. This can be done by copying or linking the `zanata-cli-completion` script from the bin directory to `/etc/bash_completion.d/`. e.g. `ln -s --relative bin/zanata-cli-completion /etc/bash_completion.d/zanata-cli-completion`. ### Nightly Builds @@ -16,4 +16,4 @@ The latest nightly build is available as an archive that can be installed manual 1. Open [Client nightly builds](http://repository-zanata.forge.cloudbees.com/snapshot/org/zanata/zanata-cli/). 1. Open the directory showing the highest version number. 1. Download either of the distributable archives (ending with `-dist.zip` or `-dist.tar.gz`). -1. Install as per manual installation instructions above. \ No newline at end of file +1. Install as per manual installation instructions above.