Skip to content

Commit

Permalink
batch wrapper for windows guys
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Sep 17, 2012
1 parent 45e2dd9 commit 5e4ee61
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions bin/panda.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl6 "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl6 %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
goto endofperl
@rem ';
__END__
:endofperl

0 comments on commit 5e4ee61

Please sign in to comment.