Permalink
Browse files

batch wrapper for windows guys

  • Loading branch information...
FROGGS committed Sep 17, 2012
1 parent 45e2dd9 commit 5e4ee61bc4644b152be67673a28121b6a27cf700
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 "%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.