ln -s new current_tmp && mv -Tf current_tmp current
参考:
https://github.com/capistrano/capistrano/pull/460
http://stackoverflow.com/questions/1385244/replace-important-symbolic-link-safely
More than 5 years have passed since last update.
ln -s new current_tmp && mv -Tf current_tmp current
参考:
https://github.com/capistrano/capistrano/pull/460
http://stackoverflow.com/questions/1385244/replace-important-symbolic-link-safely
Register as a new user and use Qiita more conveniently