desktop-base: reset nullglob to off after xdg-data-dirs-opt-apps.sh #11400
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Topic Description
This option, when enabled, would cause the asterisk/glob marker to be
ignored if no match is found. This resulted in a very confusing behaviour
with ls(1), where `ls *random-nonexistent*' would be treated as equivalent
to `ls' with no parameter at all.
Make sure to unset this shell option after whatever was done in
xdg-data-dirs-opt-apps.sh.
Link: https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html
Package(s) Affected
Security Update?
No
Build Order
Test Build(s) Done
Primary Architectures
amd64
arm64
loongarch64
Secondary Architectures
loongson3
ppc64el
riscv64