From f72de84e9c89360d8a33fd86746da0c81fffc5a1 Mon Sep 17 00:00:00 2001 From: vulcan <52124375+vxlcxn@users.noreply.github.com> Date: Sun, 23 Jun 2019 11:41:23 +0100 Subject: [PATCH] readme: Fix 'mkdir -p' and symlink typo You don't need to provide the ``-p`` flag which is used to create nested directories. Similarly, using ``$HOME`` for the symlink isn't strictly necessary, let's change that. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf5acf35f9..cdc0322643 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ The rest of the directories are vlib modules: `builtin/` (strings, arrays, maps) ### Linux and macOS ```bash -mkdir -p ~/code && cd ~/code # ~/code directory has to be used (it's a temporary limitation) +mkdir ~/code && cd ~/code # ~/code directory has to be used (it's a temporary limitation) git clone https://github.com/vlang/v cd v/compiler make @@ -68,7 +68,7 @@ That's it! Now you have a V executable at `~/code/v/compiler/v`. You can create a symlink so that it's globally available: ``` -sudo ln -s $HOME/code/v/compiler/v /usr/local/bin/v +sudo ln -s ~/code/v/compiler/v /usr/local/bin/v ``` ### Windows