Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cwd in script is expanded to real path for symlinks #89

Open
azatoth opened this issue Feb 27, 2017 · 0 comments
Open

cwd in script is expanded to real path for symlinks #89

azatoth opened this issue Feb 27, 2017 · 0 comments

Comments

@azatoth
Copy link

azatoth commented Feb 27, 2017

When using for example shipit for deployment, it deploys into a releases/DATETIME dir and generates a symlink at current; When forever-service is executed in the currentdir, cwd is expaned into the releases/DATETIME and thus having the realpath encoded in the init script, resulting in having to delete and regenerate the scripts for each deployment.

Might be possible to change process.cwd into process.env.PWD though it's possibly platform dependent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant