From: Jim Meyering Date: Thu, 9 Apr 2009 13:29:59 +0000 (+0200) Subject: tests: misc/ls-misc: avoid shadowing local decl of $e X-Git-Tag: v7.3~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0df3a91b25183ea9be3cad7d899242073460e3aa;p=thirdparty%2Fcoreutils.git tests: misc/ls-misc: avoid shadowing local decl of $e * tests/misc/ls-misc (make_j_d): Rename latter $e to $env --- diff --git a/tests/misc/ls-misc b/tests/misc/ls-misc index 93d5b914d6..30eb06cb0a 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);