Permalink
Browse files

Re-add panda.bat which I accidentally removed when working on panda2

  • Loading branch information...
tadzik committed Jun 2, 2013
1 parent 096063e commit 914450e3a2ad604cb3d97ce6c1b6e1e1e8d79b83
Showing with 14 additions and 0 deletions.
  1. +14 −0 bin/panda.bat
View
@@ -0,0 +1,14 @@
+@rem = '--*-Perl-*--
+@echo off
+if "%OS%" == "Windows_NT" goto WinNT
+perl6 "%~dp0\%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
+goto endofperl
+:WinNT
+perl6 "%~dp0\%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 914450e

Please sign in to comment.