Skip to content

Commit

Permalink
install.sh: Change mv with cp.
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Stephan Kulla <git.mail@kulla.me>
  • Loading branch information
kulla committed Sep 7, 2016
1 parent f845841 commit edd9f30
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 @@ -8,7 +8,7 @@ binpaths="/usr/local/bin /usr/bin"
# in the future maybe use value of $PATH.

for binpath in $binpaths; do
if mv -t "$binpath" "$bin" 2> /dev/null; then
if cp -t "$binpath" "$bin" 2> /dev/null; then
echo "installed $binpath/$bin"
exit 0
fi
Expand Down

0 comments on commit edd9f30

Please sign in to comment.