提交 465e4b9f 作者: Stephan Kulla

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: 's avatarStephan Kulla <git.mail@kulla.me>
上级 7f194c97
......@@ -11,7 +11,7 @@ binpaths="/usr/local/bin /usr/bin"
is_write_perm_missing=""
for binpath in $binpaths; do
if mv -t "$binpath" "$bin" 2> /dev/null; then
if mv "$bin" "$binpath/$bin" 2> /dev/null; then
echo "Moved $bin to $binpath"
exit 0
else
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论