Re: [PATCH v2] checkpatch: Allow to pass config directory

From: Joe Perches

Date: Thu Mar 26 2026 - 20:07:52 EST


On Thu, 2026-03-26 at 21:50 +0100, Petr Vorel wrote:

> > my $paths = $def_configuration_dirs;
> > $paths = "$ENV{$env_config_dir}:$paths" if exists($ENV{$env_config_dir});
>
> +1, sure, thanks!

Why have two uses of $ENV{$env_config_dir}?
Seems typo error prone and somewhat difficult to read.