install.sh: Fix wrong destination path for ipfs binary
License: MIT Signed-off-by: Kirill Goncharov <kdgoncharov@gmail.com>
Kirill Goncharov committed
Jun 8, 2019 at 19:13 UTC
2865ae79a145cfcbe8a8a9cf0fabd3f762639370
1 file changed
+1
-1
cmd/ipfs/dist/install.sh
+1
-1
@@ -13,7 +13,7 @@ binpaths="/usr/local/bin /usr/bin"
13
is_write_perm_missing=""
14
15
for binpath in $binpaths; do
16
- if mv "$bin" "$binpath/$bin" ; then
16
+ if mv "$bin" "$binpath/ipfs" ; then
17
echo "Moved $bin to $binpath"
18
exit 0
19
else