From 2865ae79a145cfcbe8a8a9cf0fabd3f762639370 Mon Sep 17 00:00:00 2001 From: Kirill Goncharov Date: Sat, 8 Jun 2019 19:13:19 +0300 Subject: [PATCH] install.sh: Fix wrong destination path for ipfs binary License: MIT Signed-off-by: Kirill Goncharov --- cmd/ipfs/dist/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ipfs/dist/install.sh b/cmd/ipfs/dist/install.sh index 08f687523..34c5d59e9 100755 --- a/cmd/ipfs/dist/install.sh +++ b/cmd/ipfs/dist/install.sh @@ -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