Skip to content

Commit

Permalink
fix space handling in path for .bat
Browse files Browse the repository at this point in the history
  • Loading branch information
htouvet committed Feb 13, 2018
1 parent 6e37556 commit 80edc35
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion devwapt.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
pushd %~dp0
REM Pyscripter requires to have python.exe in PYTHONHOME
mklink %CD%\python.exe %CD%\Scripts\python.exe
mklink "%CD%\python.exe" "%CD%\Scripts\python.exe"
SET VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
start "Wapt Pycripter" /D "%CD%" "C:\Program Files (x86)\PyScripter\PyScripter.exe" -N --python27 --PYTHONDLLPATH "%cd%" --project "%cd%\wapt.psproj"'
Expand Down
2 changes: 1 addition & 1 deletion devwaptget.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pushd %~dp0
mklink %CD%\python.exe %CD%\Scripts\python.exe
mklink "%CD%\python.exe" "%CD%\Scripts\python.exe"
SET VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
start "Wapt Pycripter" /D "%CD%" "C:\Program Files (x86)\PyScripter\PyScripter.exe" -N --python27 --PYTHONDLLPATH "%cd%" --project "%cd%\wapt-get\waptget.psproj"' %*
Expand Down
2 changes: 1 addition & 1 deletion devwaptserver.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pushd %~dp0
mklink %CD%\python.exe %CD%\Scripts\python.exe
mklink "%CD%\python.exe" "%CD%\Scripts\python.exe"
SET VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
start "Wapt Pycripter" /D "%CD%" "C:\Program Files (x86)\PyScripter\PyScripter.exe" -N --python27 --PYTHONDLLPATH "%cd%" --project "%cd%\waptserver\waptserver.psproj"' %*
Expand Down
2 changes: 1 addition & 1 deletion devwaptservice.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pushd %~dp0
mklink %CD%\python.exe %CD%\Scripts\python.exe
mklink "%CD%\python.exe" "%CD%\Scripts\python.exe"
SET VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
start "Wapt Pycripter" /D "%CD%" "C:\Program Files (x86)\PyScripter\PyScripter.exe" -N --python27 --PYTHONDLLPATH "%cd%" --project "%cd%\waptservice\waptservice.psproj"' %*
Expand Down
2 changes: 1 addition & 1 deletion runwaptserver.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ net stop waptserver
pushd %~dp0
SET VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
%PYTHONHOME%\waptpython.exe %PYTHONHOME%\waptserver\waptserver.py %*
"%PYTHONHOME%\waptpython.exe" "%PYTHONHOME%\waptserver\waptserver.py" %*
popd
2 changes: 1 addition & 1 deletion runwaptservice.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ net stop waptservice
pushd %~dp0
SET VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
%PYTHONHOME%\waptpython.exe %PYTHONHOME%\waptservice\waptservice.py %*
"%PYTHONHOME%\waptpython.exe" "%PYTHONHOME%\waptservice\waptservice.py" %*
popd
2 changes: 1 addition & 1 deletion wapt-scanpackages.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ REM Run wapt-scanpackages python script in wapt virtualenv
pushd %~dp0
SET VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
%PYTHONHOME%\waptpython.exe %PYTHONHOME%\wapt-scanpackages.py %*
"%PYTHONHOME%\waptpython.ex"e "%PYTHONHOME%\wapt-scanpackages.py" %*
popd
2 changes: 1 addition & 1 deletion wapt-signpackages.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ REM Run wapt-signpackages python script in wapt virtualenv
pushd %~dp0
SET VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
%PYTHONHOME%\waptpython.exe %PYTHONHOME%\wapt-signpackages.py %*
"%PYTHONHOME%\waptpython.exe" "%PYTHONHOME%\wapt-signpackages.py" %*
popd
2 changes: 1 addition & 1 deletion waptpyscripter.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pushd %~dp0
mklink %CD%\python.exe %CD%\Scripts\python.exe
mklink "%CD%\python.exe" "%CD%\Scripts\python.exe"
set VIRTUAL_ENV=%CD%
SET PYTHONHOME=%VIRTUAL_ENV%
start "Pycripter" /D "%CD%" "C:\Program Files (x86)\PyScripter\PyScripter.exe" -N --python27 --PYTHONDLLPATH "%cd%" %*
Expand Down

0 comments on commit 80edc35

Please sign in to comment.