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

(hotfix) Remove single quotes from Unix host file ops #1642

Conversation

highb
Copy link
Contributor

@highb highb commented May 8, 2020

Prior to this commit single quotes were added around the mkdir_p
rm_rf and mv commands in Beaker::Unix::Exec. Refer to a60451c
These added single quotes caused interpolation of variables such as ~ for
the user HOME to stop working.

This commit removes the single quotes added to those command string in
the mentioned commit. We can consider adding double quote in the future,
although folks may be reliant on shell globbing and other features of
not having quotes so we may need to add a parameter to control the
behavior.

@highb highb requested a review from a team as a code owner May 8, 2020 16:22
Prior to this commit single quotes were added around the `mkdir_p`
`rm_rf` and `mv` commands in `Beaker::Unix::Exec`. Refer to voxpupuli@a60451c#diff-adecec78dcc971d847136c54308d7766L120
These added single quotes caused interpolation of variables such as `~` for
the user HOME to stop working.

This commit removes the single quotes added to those command string in
the mentioned commit. We can consider adding double quote in the future,
although folks may be reliant on shell globbing and other features of
not having quotes so we may need to add a parameter to control the
behavior.
@highb highb force-pushed the hotfix-remove-single-quoting-around-file-operations-in-exec branch from 92b5340 to 6a9495b Compare May 8, 2020 16:23
@highb
Copy link
Contributor Author

highb commented May 8, 2020

Jenkins, test this please

@rooneyshuman rooneyshuman merged commit 1090023 into voxpupuli:master May 8, 2020
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.

2 participants