Skip to content

Commit

Permalink
Allow install.sh to be run without being the script dir
Browse files Browse the repository at this point in the history
  • Loading branch information
epheph committed Jan 4, 2018
1 parent 59a8e65 commit c738e58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/ipfs/dist/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
# Installation script for ipfs. It tries to move $bin in one of the
# directories stored in $binpaths.

bin=ipfs
INSTALL_DIR=`dirname $0`

bin=$INSTALL_DIR/ipfs
binpaths="/usr/local/bin /usr/bin"

# This variable contains a nonzero length string in case the script fails
Expand Down

1 comment on commit c738e58

@GitCop
Copy link

@GitCop GitCop commented on c738e58 Jan 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were the following issues with your Pull Request

We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend can often help you quickly improve the commit message.
Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.


This message was auto-generated by https://gitcop.com

Please sign in to comment.