shipitjs/shipit

mv: illegal option -- T

Open

#173 opened on 2018年1月24日

GitHub で見る
 (7 comments) (1 reaction) (0 assignees)JavaScript (5,331 stars) (194 forks)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

コントリビューターガイド