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

Add check and warning for a space presence in the base path #584

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

gromain
Copy link
Contributor

@gromain gromain commented Feb 2, 2022

Reopening of #417 from a different upstream repo to keep things cleaner.

This PR closes #75 with a Upstream issue reason. For now, debootstrap doesn't support spaces in path, so we just check for the presence of a space character in the base path, warn the user and exit early before trying anything.

@gromain
Copy link
Contributor Author

gromain commented Feb 2, 2022

Shellcheck is complaining about a few word-splitting issues, do you want me to fix them here too or should I create another PR to keep things clean?

Also, I'm happy to make changes to wording and such in the README and in the warning message.

@XECDesign XECDesign merged commit 8862e4d into RPi-Distro:master Feb 2, 2022
@XECDesign
Copy link
Member

Many thanks

@XECDesign
Copy link
Member

Shellcheck is complaining about a few word-splitting issues, do you want me to fix them here too or should I create another PR to keep things clean?

Generally separate PRs for separate issues are better.

@gromain
Copy link
Contributor Author

gromain commented Feb 2, 2022

My thoughts exactly, I'll do that then.

@gromain gromain deleted the base_path_fix branch February 2, 2022 16:42
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.

Paths with spaces do not work
2 participants