Skip to content

Commit

Permalink
using absolute path to original panda script file
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Sep 17, 2012
1 parent 5e4ee61 commit 7fce5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/panda.bat
@@ -1,10 +1,10 @@
@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl6 "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
perl6 "%~dp0\%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl6 %0 %*
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
Expand Down

0 comments on commit 7fce5bc

Please sign in to comment.