mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
[PR #473] [MERGED] Fix globbing of CONFIG_D *.sh files #847
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/473
Author: @GUI
Created: 2/4/2018
Status: ✅ Merged
Merged: 2/4/2018
Merged by: @lukas2511
Base:
master← Head:config-globbing📝 Commits (1)
0bc0bd1Fix globbing of CONFIG_D *.sh files.📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
dehydrated(+7 -1)📄 Description
With the globbing changes made in
61083cf522to globally disable globbing by default, this broke the ability to load the CONFIG_D*.shfiles.This re-enables globbing when reading these
*.shfiles and then disables it again afterwards. Note that this also keeps globbing enabled inside the loop, when sourcing the individual*.shfiles for backwards compatibility (so if the individual config scripts relied on the default of globbing being enabled, there won't be any change in behavior).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.