diff options
-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); |