Permalink
Browse files

using absolute path to original panda script file

  • Loading branch information...
1 parent 5e4ee61 commit 7fce5bcb8f6cfd44deddcd83effeba2661f0e819 @FROGGS FROGGS committed Sep 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/panda.bat
View
4 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

0 comments on commit 7fce5bc

Please sign in to comment.