]> git.ipfire.org Git - thirdparty/dehydrated.git/commit
Fix globbing of CONFIG_D *.sh files. 473/head
authorNick Muerdter <nick.muerdter@nrel.gov>
Sat, 3 Feb 2018 23:07:00 +0000 (16:07 -0700)
committerNick Muerdter <nick.muerdter@nrel.gov>
Sat, 3 Feb 2018 23:11:14 +0000 (16:11 -0700)
commit0bc0bd13d6abdc027c58bec12f7c2d3198d3a677
treee39e31705fc8e3c23e1b373da57e426f8d393a1d
parent6d02bfdb42d4f4808fb241ab13f0b4edf6950342
Fix globbing of CONFIG_D *.sh files.

With the globbing changes made in
61083cf52231e09e3a9b599d602c06978704ec57 to globally disable globbing by
default, this broke the ability to load the CONFIG_D `*.sh` files.

This re-enables globbing when reading these `*.sh` files and then disables it
again afterwards. Note that this also keeps globbing enabled inside the
loop, when sourcing the individual `*.sh` files 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).
dehydrated