Skip to content

Commit

Permalink
Merge pull request #6424 from xuhcc/install-bin-path
Browse files Browse the repository at this point in the history
install.sh: Fix wrong destination path for ipfs binary
  • Loading branch information
Stebalien authored Jun 11, 2019
2 parents 39e6e17 + 2865ae7 commit 448b801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ipfs/dist/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ binpaths="/usr/local/bin /usr/bin"
is_write_perm_missing=""

for binpath in $binpaths; do
if mv "$bin" "$binpath/$bin" ; then
if mv "$bin" "$binpath/ipfs" ; then
echo "Moved $bin to $binpath"
exit 0
else
Expand Down

0 comments on commit 448b801

Please sign in to comment.