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

Escape build path when compressing app.zip on Mac #1

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

inxilpro
Copy link
Contributor

CompressApplication will fail to create the app.zip file if your build path contains a space in it. Instead of passing the entire command to Process as a string, we can pass each segment as an array to allow Process to escape the arguments for us.

Before this change, running vapor deploy staging on a fresh install fails. After this change it runs just fine.

@taylorotwell taylorotwell merged commit 41deb30 into laravel:master Aug 15, 2019
@inxilpro inxilpro deleted the bugfix/escape-build-path branch August 18, 2019 02:17
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