shipitjs/shipit

mv: illegal option -- T

Open

#173 aberto em 24 de jan. de 2018

Ver no GitHub
 (7 comments) (1 reaction) (0 assignees)JavaScript (194 forks)batch import
buggood first issuehelp wanted

Métricas do repositório

Stars
 (5.331 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador