Skip to content

Update Makefile to allow for paths with spaces in them#33

Open
Piroshky wants to merge 2 commits intofiliparag:masterfrom
Piroshky:master
Open

Update Makefile to allow for paths with spaces in them#33
Piroshky wants to merge 2 commits intofiliparag:masterfrom
Piroshky:master

Conversation

@Piroshky
Copy link
Copy Markdown

When I tried to use the Makefile to download the wiki sources it ended up deleting the
directory it was called from, due to the Makefile not being able to handle paths with
spaces in them.

The fix is to wrap the variables that hold the path in quotes when they are being passed
as arguments to commands.

When I tried to use the Makefile to download the wiki sources it ended up deleting the
directory it was called from, due to the Makefile not being able to handle paths with
spaces in them.

The fix is to wrap the variables that hold the path in quotes when they are being passed
as arguments to commands.
@filiparag filiparag self-requested a review March 25, 2022 23:18
@filiparag filiparag added the enhancement Improvement of an existing feature label Mar 25, 2022
@filiparag
Copy link
Copy Markdown
Owner

Thanks for opening the pull request. I am sorry for not replying earlier.

I noticed that you simplified declaration of MKFILEABS variable to use MAKEFILE_LIST. Unfortunately, FreeBSD's make impelentation desn't support it, so I can't accept that change, as it would break compatibility. The rest of changes are good and can be merged to the upstream.

I revised spacing fixes you provided so it follows cat's 8 character tabs. Hope you don't mind.

@filiparag filiparag force-pushed the master branch 5 times, most recently from 2d3c43b to dba1b2c Compare May 14, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants