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

Unquote asterisk so the shell can expand it #10

Merged
merged 1 commit into from
Jan 28, 2023

Conversation

shopeonarope
Copy link
Contributor

When running kubechr I was getting file not found because it was trying to ls the literal file:
/home/user/.kube/config.dest.d/*.yaml
Moving the asterisk outside the quotes allows the shell to expand it and then properly list and remove the files.

@aabouzaid
Copy link
Collaborator

@shopeonarope good catch, thanks for the fix 🚀

@aabouzaid aabouzaid merged commit 3fa0a4b into DevOpsHiveHQ:master Jan 28, 2023
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.

None yet

2 participants