Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 399 Bytes
@echo off
REM Pirum
REM
REM (c) 2009-2012 Fabien Potencier
REM
REM For the full copyright and license information, please view the LICENSE
REM file that was distributed with this source code.
if "%PHPBIN%" == "" set PHPBIN=@php_bin@
if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH
GOTO RUN
:USE_PEAR_PATH
set PHPBIN=%PHP_PEAR_PHP_BIN%
:RUN
"%PHPBIN%" "@bin_dir@\pirum" %*