Skip to content

Conversation

@jenswittmann
Copy link
Contributor

The upgrade doesn't work if there is a space in your file path. For example, the following path contains a space: /Volumes/Macintosh HD/Users/jenswittmann/Sites/….

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR attempts to fix a bug where MODX upgrade fails when the file path contains spaces. The fix adds single quotes around the $customPath variable in an exec command that copies files during upgrade.

Changes:

  • Added single quotes around $customPath variable in the exec command on line 158 to handle paths with spaces

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

1 participant