From c59dedbb538717a10c4ad9fcae216151e874ed83 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:01:02 +0200 Subject: Merging upstream version 13.2. Signed-off-by: Daniel Baumann --- share/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/profile') diff --git a/share/profile b/share/profile index de64c87..a897491 100644 --- 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_][a-zA-Z0-9._-]*\.sh$' /etc/profile.d); do if [ -r $i ]; then . $i fi -- cgit v1.2.3