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

bash: Fix source error #4931

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nelsontkq
Copy link
Contributor

Summary

If a user creates /etc/profile.d but does not add a script to the folder, opening a terminal shows an error.

Test Plan

  • mkdir -p /etc/profile.d
  • open terminal
  • see bash: /etc/profile.d/*.sh: No such file or directory error
  • install package
  • open terminal
  • see no error

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

**Summary**

If a user creates `/etc/profile.d` but does not add a script to the folder, opening a terminal shows an error.

**Test Plan**

- mkdir -p /etc/profile.d
- open terminal
- see `bash: /etc/profile.d/*.sh: No such file or directory` error
- install package
- open terminal
- see no error

**Checklist**

- [x] Package was built and tested against unstable
@EbonJaeger
Copy link
Member

There is an open PR for Bash to solve a couple of sourcing issues. I would ask to take a look at that one and see whether or not it solves the problem this PR is trying to address.

@nelsontkq
Copy link
Contributor Author

@EbonJaeger looks like it doesn't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

2 participants