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

Parse the target path given to cd to prevent recursive loop. #197

Merged
merged 1 commit into from
Feb 26, 2015

Conversation

tomzx
Copy link
Contributor

@tomzx tomzx commented Feb 25, 2015

If cd was given {release_path} as target path, it would attempt to run a command to figure out what the value of {release_path} is, which, in the process, would also want to know the value of {release_path} and so on.

The fix simply parses the value as it is given, thus making the result static instead of a closure.

If cd was given {release_path} as target path, it would attempt to run a command to figure out what the value of {release_path} is, which, in the process, would also want to know the value of {release_path} and so on.

The fix simply parses the value as it is given, thus making the result static instead of a closure.
@antonmedv
Copy link
Member

Cool 👍 😃

antonmedv pushed a commit that referenced this pull request Feb 26, 2015
Parse the target path given to cd to prevent recursive loop.
@antonmedv antonmedv merged commit dc93905 into deployphp:master Feb 26, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants