1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00

Allow arc.bat to work from paths with spaces in them

Summary: If you dump `arcanist/` into "Program Files" or similar, the `.bat` currently breaks. Quote the path so it doesn't. Fixes T1436.

Test Plan: Ran `arc` with `arcanist/` in a path with spaces in it.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T1436

Differential Revision: https://secure.phabricator.com/D4375
This commit is contained in:
epriestley 2013-01-09 12:34:30 -08:00
parent 57ec5a026d
commit ed41f3f52c

View file

@ -1,3 +1,3 @@
@echo off @echo off
php -f %~dp0..\scripts\arcanist.php -- %* php -f "%~dp0..\scripts\arcanist.php" -- %*