summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/slxldd3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/slxldd b/bin/slxldd
index b8732a44..3ad849c8 100755
--- a/bin/slxldd
+++ b/bin/slxldd
@@ -111,7 +111,8 @@ sub fetchLoaderConfigFile
while (<$ldconfFH>) {
chomp;
if (m{^\s*include\s+(.+?)\s*$}i) {
- while (my $incFile = glob("$rootPath$1")) {
+ my @incFiles = glob("$rootPath$1");
+ foreach my $incFile (@incFiles) {
if ($incFile) {
fetchLoaderConfigFile($incFile);
}