File tree Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -79,3 +79,5 @@ pyvenv.cfg
7979lib64
8080tcl
8181/.env
82+
83+ * .orig
Original file line number Diff line number Diff line change 11Changelog
22=========
3+ vNext
4+ -----
5+ - Updated scancode.bat to handle % signs in the arguments #1876
36
47v20.11 (next)
58-------------
Original file line number Diff line number Diff line change 66set SCANCODE_ROOT_DIR = %~dp0
77set SCANCODE_CONFIGURED_PYTHON = %SCANCODE_ROOT_DIR% Scripts\python.exe
88
9- @ rem Collect all command line arguments in a variable
10- @ rem Use a trailing space in the next line sets the variable to an empty string (rather than unseting it)
11- set " SCANCODE_CMD_LINE_ARGS = "
12-
13- :collectarg
14- if " " %1 " " == " " " " goto continue
15- call set SCANCODE_CMD_LINE_ARGS = %SCANCODE_CMD_LINE_ARGS% %1
16- shift
17- goto collectarg
18-
19- :continue
20-
219if not exist " %SCANCODE_CONFIGURED_PYTHON% " goto configure
2210goto scancode
2311
@@ -36,4 +24,4 @@ if %errorlevel% neq 0 (
3624@ rem without this things may not always work on Windows 10, but this makes things slower
3725set PYTHONDONTWRITEBYTECODE = 1
3826
39- " %SCANCODE_ROOT_DIR% Scripts\scancode" %SCANCODE_CMD_LINE_ARGS%
27+ " %SCANCODE_ROOT_DIR% Scripts\scancode" %*
You can’t perform that action at this time.
0 commit comments