tags 885414 + help
thanks
Hello. Sorry for the late reply.
The problem, more than lack of quoting, is that there is no specification
anywhere about what should be allowed and what should not.
But we are not late to begin such specification.
Here is my current plan:
--- a/share/profile
+++ b/share/profile
@@ -25,7 +25,7 @@ if [ "${PS1-}" ]; then
fi
if [ -d /etc/profile.d ]; then
- for i in /etc/profile.d/*.sh; do
+ for i in $(run-parts --list --regex '^[a-zA-Z0-9._-]+.sh$' /etc/profile.d);
do
if [ -r $i ]; then
. $i
fi
Now the pending task is to see if the above regex is enough for all the snippets
that the current packages in trixie/sid put in /etc/profile.d.
I'm tagging this as "help" to see if some kind soul wants to check that and
share their findings.
Thanks.