Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

added bin/panda.bat #17

Merged
merged 1 commit into from

2 participants

Tobias Leich Tadeusz Sośnierz
Tobias Leich
Collaborator

This way windows ppl can do panda install Some::Thing too.

Tadeusz Sośnierz
Owner

So windows doesn't simply run things in PATH if it doesn't know its extensions, eh?

Tobias Leich
Collaborator

Right you are, it just runs .com, .exe and .bat, and stuff you specify in a ENV var.

Tadeusz Sośnierz
Owner

Understood. Good thing to have then, thanks!

Tadeusz Sośnierz tadzik merged commit 56149b2 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 17, 2012
  1. Tobias Leich

    batch wrapper for windows guys

    FROGGS authored
This page is out of date. Refresh to see the latest.
Showing with 14 additions and 0 deletions.
  1. +14 −0 bin/panda.bat
14 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
Something went wrong with that request. Please try again.