shipitjs/shipit

mv: illegal option -- T

Open

#173 aperta il 24 gen 2018

Vedi su GitHub
 (7 commenti) (1 reazione) (0 assegnatari)JavaScript (194 fork)batch import
buggood first issuehelp wanted

Metriche repository

Star
 (5331 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor