From 0df3a91b25183ea9be3cad7d899242073460e3aa Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 9 Apr 2009 15:29:59 +0200 Subject: tests: misc/ls-misc: avoid shadowing local decl of $e * tests/misc/ls-misc (make_j_d): Rename latter $e to $env --- tests/misc/ls-misc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/misc') diff --git a/tests/misc/ls-misc b/tests/misc/ls-misc index 93d5b914d..30eb06cb0 100755 --- a/tests/misc/ls-misc +++ b/tests/misc/ls-misc @@ -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); -- cgit v1.2.3-70-g09d2