summaryrefslogtreecommitdiffstats
path: root/share/profile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:01:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:01:02 +0000
commit8bf4ba0d866080688a45439b0873964b5d8ed075 (patch)
tree642cf79def2d4983ea961238c0b9c175805f5cdf /share/profile
parentAdding upstream version 13.1. (diff)
downloadbase-files-8bf4ba0d866080688a45439b0873964b5d8ed075.tar.xz
base-files-8bf4ba0d866080688a45439b0873964b5d8ed075.zip
Adding upstream version 13.2.upstream/13.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/profile')
-rw-r--r--share/profile2
1 files changed, 1 insertions, 1 deletions
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