diff options
Diffstat (limited to 'cpan/Test-Harness/t/source_tests/psql.bat')
-rw-r--r-- | cpan/Test-Harness/t/source_tests/psql.bat | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpan/Test-Harness/t/source_tests/psql.bat b/cpan/Test-Harness/t/source_tests/psql.bat index 8f43ddd768..29daf614c8 100644 --- a/cpan/Test-Harness/t/source_tests/psql.bat +++ b/cpan/Test-Harness/t/source_tests/psql.bat @@ -1,12 +1,10 @@ @rem = '--*-Perl-*-- @echo off -if (%PERL_CORE%)==() set PERL_CORE=perl -if not exist %PERL_CORE% set PERL_CORE=perl if "%OS%" == "Windows_NT" goto WinNT -%PERL_CORE% -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 +perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl :WinNT -%PERL_CORE% -x -S %0 %* +perl -x -S %0 %* if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl if %errorlevel% == 9009 echo You do not have Perl in your PATH. if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul |