From cc691cce9fa0a71dd80f77aab26a9fba9032118c Mon Sep 17 00:00:00 2001 From: ShivSoni5 Date: Sun, 27 Jan 2019 11:57:39 +0530 Subject: [PATCH] changed ./joe to ./build/joe when '' == 'run' --- README.md | 10 +++++++++- tool.sh | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d6d92c2..a5d612f 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,18 @@ Make sure to add the location of the binary to your `$PATH`. ### Option 2: From source ```bash -$ git clone git@github.com:karan/joe.git +$ git clone https://github.com/karan/joe.git $ cd joe/ $ chmod +x tool.sh $ ./tool.sh build +$ cd ~/bin +$ sudo ln -s /path/to/joe/build/joe joe +``` + +### Option 3: Pip + +```bash +$ pip install joe ``` ## Usage diff --git a/tool.sh b/tool.sh index 692a6ba..4473280 100755 --- a/tool.sh +++ b/tool.sh @@ -46,7 +46,7 @@ if [ "$1" == "deps" ]; then elif [ "$1" == "build" ]; then build elif [ "$1" == "run" ]; then - build && ./joe + build && ./build/joe else usage; fi