shipitjs/shipit

mv: illegal option -- T

Open

#173 建立於 2018年1月24日

在 GitHub 查看
 (7 留言) (1 反應) (0 負責人)JavaScript (5,331 star) (194 fork)batch import
buggood first issuehelp wanted

描述

An error is produced on FreeBSD. It seems that FreeBSD does not have -T option for mv command. This option was introduced with shipit-deploy 2.5.0

'deploy:publish' errored after 553 ms
Error: Command failed: ssh user@server "cd /usr/home/…/nodejs && if [[ -d current && ! (-L current) ]]; then echo \"ERR: could not make symlink\"; else ln -nfs releases/20171204175536 current_tmp && mv -fT current_tmp current; fi"
mv: illegal option -- T
usage: mv [-f | -i | -n] [-hv] source target
       mv [-f | -i | -n] [-v] source ... directory

貢獻者指南