summaryrefslogtreecommitdiff
path: root/win32/bin
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-02-23 09:45:26 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-02-23 09:45:26 +0000
commitb94a4e7b1c2021f032493af2226b4f22ade4017c (patch)
tree9c5909efb9db5ef1dff16844b6091bf29be3e277 /win32/bin
parentfb977fe4153eebe74249d1769da5b50ba68d897c (diff)
downloadperl-b94a4e7b1c2021f032493af2226b4f22ade4017c.tar.gz
[win32] undo previous change (no added value!)
p4raw-id: //depot/win32/perl@572
Diffstat (limited to 'win32/bin')
-rw-r--r--win32/bin/pl2bat.pl5
1 files changed, 0 insertions, 5 deletions
diff --git a/win32/bin/pl2bat.pl b/win32/bin/pl2bat.pl
index 0f67fd4023..73ae87164d 100644
--- a/win32/bin/pl2bat.pl
+++ b/win32/bin/pl2bat.pl
@@ -22,17 +22,12 @@ $OPT{'a'} = ($^O eq 'MSWin32' and &Win32::IsWinNT
? '-x -S %0 %*'
: '-x -S %0 %1 %2 %3 %4 %5 %6 %7 %8 %9')
unless exists $OPT{'a'};
-($OPT{'a2'} = $OPT{'a'} ) =~ s/\%0/\%0.bat/g;
$OPT{'s'} = '.pl' unless exists $OPT{'s'};
$OPT{'s'} = ($OPT{'s'} =~ m|^/([^/]*)| ? $1 : "\Q$OPT{'s'}\E");
(my $head = <<EOT) =~ s/^\t//gm;
\@rem = '--*-Perl-*--
\@echo off
- if not exist \%0.bat goto over
- perl $OPT{'a2'}
- goto endofperl
- :over
perl $OPT{'a'}
goto endofperl
\@rem ';