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

Fix: symlinking (build and deploy) under Windows works now even if paths contain spaces #86

Merged
merged 6 commits into from
Mar 3, 2024

Conversation

ramalama
Copy link
Contributor

@ramalama ramalama commented Mar 3, 2024

I added escape quotes for the paths, so creating symlinks works event if paths contain spaces.
Fixed symlink for package zip files (windows)

ramalama added 2 commits March 3, 2024 14:17
Fix: Escaping paths when creating symlinks, so this works with paths containing spaces.
@ramalama ramalama changed the title Fix: Build.php symlink under Windows even if paths contain spaces Fix: symlinking (build and deploy) under Windows works now even if paths contain spaces Mar 3, 2024
ramalama added 4 commits March 3, 2024 15:53
for files symlink must not contain the option /J
file symlink needs admin privileges or developer mode under windows. Hard link (mklink /H) works without elevation and should be good enough for the use case.
Zip Files are treated as files under Windows, so you must use is_file for checking and unlink for deletion.
@Hackwar
Copy link
Collaborator

Hackwar commented Mar 3, 2024

Thank you!

@Hackwar Hackwar merged commit 42588eb into joomla-projects:develop Mar 3, 2024
1 check failed
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