diff options
author | Jim Meyering <meyering@redhat.com> | 2009-04-09 15:29:59 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-04-09 15:29:59 +0200 |
commit | 0df3a91b25183ea9be3cad7d899242073460e3aa (patch) | |
tree | b17e92a0e4b0a25716ac4d25899e1ab97a5782c4 | |
parent | bf87a2c8ea4487ca4448c9fe42a9c9858400acbd (diff) | |
download | coreutils-0df3a91b25183ea9be3cad7d899242073460e3aa.tar.xz |
tests: misc/ls-misc: avoid shadowing local decl of $e
* tests/misc/ls-misc (make_j_d): Rename latter $e to $env
-rwxr-xr-x | tests/misc/ls-misc | 8 |
1 files changed, 4 insertions, 4 deletions
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); |