From: epriestley Date: Wed, 9 Jan 2013 20:34:30 +0000 (-0800) Subject: Allow `arc.bat` to work from paths with spaces in them X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ed41f3f52cb122388da0c2f4fd63ec1b44c6038e;p=arcanist.git 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 --- diff --git a/bin/arc.bat b/bin/arc.bat index 4289de86..a1fd8f6c 100644 --- a/bin/arc.bat +++ b/bin/arc.bat @@ -1,3 +1,3 @@ @echo off -php -f %~dp0..\scripts\arcanist.php -- %* +php -f "%~dp0..\scripts\arcanist.php" -- %*