install.sh: Remove -t parameter from mv command.
Return to the old definition of the mv command since there is no `-t` parameter in `mv` of BSD. Cf. https://www.freebsd.org/cgi/man.cgi?query=mv&sektion=1 License: MIT Signed-off-by: Stephan Kulla <git.mail@kulla.me>
Stephan Kulla committed
Sep 8, 2016 at 16:55 UTC
465e4b9f758f62f3f46be51a18477dd020031b2d
1 file changed
+1
-1
cmd/ipfs/dist/install.sh
+1
-1
@@ -11,7 +11,7 @@ binpaths="/usr/local/bin /usr/bin"
11
is_write_perm_missing=""
12
13
for binpath in $binpaths; do
14
- if mv -t "$binpath" "$bin" 2> /dev/null; then
14
+ if mv "$bin" "$binpath/$bin" 2> /dev/null; then
15
echo "Moved $bin to $binpath"
16
exit 0
17
else