mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-14 11:21:58 +02:00
tests: misc/ls-misc: avoid shadowing local decl of $e
* tests/misc/ls-misc (make_j_d): Rename latter $e to $env
This commit is contained in:
@@ -240,10 +240,10 @@ $fail
|
||||
and exit 1;
|
||||
|
||||
# Be careful to use the just-build dircolors.
|
||||
my $e = `$ENV{abs_top_builddir}/src/dircolors -b`;
|
||||
$e =~ s/^LS_COLORS=\'//;
|
||||
$e =~ s/\';.*//sm;
|
||||
$ENV{LS_COLORS} = $e;
|
||||
my $env = `$ENV{abs_top_builddir}/src/dircolors -b`;
|
||||
$env =~ s/^LS_COLORS=\'//;
|
||||
$env =~ s/\';.*//sm;
|
||||
$ENV{LS_COLORS} = $env;
|
||||
|
||||
setuid_setup;
|
||||
$fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose);
|
||||
|
||||
Reference in New Issue
Block a user