mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-16 22:01:47 -09:00
The previous Config.* glob also caught linux/Config.ext.in and package/php/Config.ext, as well as some backup files created by editors (e.g. Config.in~ after editing a Config.in file in Emacs), leading to wrong results depending on directory listing order. Also use "with" to automatically close the file when the block is left, even on error. Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>