Skip to content

Commit

Permalink
Merge branch 'joeyespo-develop' into develop
Browse files Browse the repository at this point in the history
* joeyespo-develop:
  Let aws.cmd find python.exe on paths with spaces.
  • Loading branch information
jamesls committed Jul 7, 2014
2 parents 043f126 + ef66982 commit c08747f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/aws.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo OFF
REM="""
setlocal
set PythonExe=
set PythonExe=""
set PythonExeFlags=

for %%i in (cmd bat exe) do (
Expand All @@ -16,13 +16,13 @@ for /f "tokens=2 delims==" %%i in ('assoc .py') do (
)
)
)
"%PythonExe%" -x %PythonExeFlags% "%~f0" %*
%PythonExe% -x %PythonExeFlags% "%~f0" %*
goto :EOF

:SetPythonExe
if not [%1]==[""] (
if ["%PythonExe%"]==[""] (
set PythonExe=%~1
if not ["%~1"]==[""] (
if [%PythonExe%]==[""] (
set PythonExe="%~1"
)
)
goto :EOF
Expand Down

0 comments on commit c08747f

Please sign in to comment.