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

Use mkdir -p instead of ignoring return code #675

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rhansen
Copy link
Contributor

@rhansen rhansen commented Feb 28, 2024

(split off from #642 because I suspect this change is less controversial)

The `-f` option causes `rm` to silently ignore files that don't exist,
so `rm -rf` will only fail if `rm` has trouble deleting a file that
exists.  We want `make` to fail in that situation.
We want `make` to fail if the directory doesn't exist and can't be
made for some reason.
@rhansen
Copy link
Contributor Author

rhansen commented Dec 6, 2024

rhansen added a commit to keyd-project/keyd-fork that referenced this pull request Dec 18, 2024
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