]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: misc/ls-misc: avoid shadowing local decl of $e
authorJim Meyering <meyering@redhat.com>
Thu, 9 Apr 2009 13:29:59 +0000 (15:29 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 9 Apr 2009 13:29:59 +0000 (15:29 +0200)
* tests/misc/ls-misc (make_j_d): Rename latter $e to $env

tests/misc/ls-misc

index 93d5b914d648b68293191257ec34287af1c15ec7..30eb06cb0a56fef7fcc31e3b653ed107b0e0a9a1 100755 (executable)
@@ -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);