[PR #1347] [MERGED] fix(bootstrap): set shopt nullglob #1269

Closed
opened 2026-02-27 09:11:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/1347
Author: @toanju
Created: 11/9/2025
Status: Merged
Merged: 11/9/2025
Merged by: @nitnelave

Base: mainHead: bootstrap-glob


📝 Commits (1)

  • beef7d7 fix(bootstrap): set shopt nullglob

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 scripts/bootstrap.sh (+2 -0)

📄 Description

Set the nullglob option in the bootstrap script to handle cases where
no files match a glob pattern.

This prevents the following error when the folder exists without json
files:

/bootstrap/group-configs/*.json: jq: error: Could not open file /bootstrap/group-configs/*.json: No such file or directory

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/1347 **Author:** [@toanju](https://github.com/toanju) **Created:** 11/9/2025 **Status:** ✅ Merged **Merged:** 11/9/2025 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `bootstrap-glob` --- ### 📝 Commits (1) - [`beef7d7`](https://github.com/lldap/lldap/commit/beef7d755e29602bb2fc782f18a3b730699a0bda) fix(bootstrap): set shopt nullglob ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `scripts/bootstrap.sh` (+2 -0) </details> ### 📄 Description Set the `nullglob` option in the bootstrap script to handle cases where no files match a glob pattern. This prevents the following error when the folder exists without json files: ``` /bootstrap/group-configs/*.json: jq: error: Could not open file /bootstrap/group-configs/*.json: No such file or directory ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 09:11:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#1269
No description provided.