Add semi-colon as separator for parsing package names
If we don't do this then the following line: weakrefmethod;python_version=='2.7' or python_version=='2.6' # PSF ends up as: weakrefmethod;python_version in the cruft output. So we need to add ';' to get the output as 'weakrefmethod' Change-Id: I7b32bfe70df3bb24ca301db9952d76451674a0db
This commit is contained in:
parent
c7f8c7c69d
commit
836a390b91
@ -82,7 +82,7 @@ set +x
|
||||
|
||||
# Loop over the set of package names from the global requirements list.
|
||||
for CANDIDATE in $(
|
||||
sed -e '/^\($\|#\)/d' -e 's/^\([^<>=! ]*\).*/\1/' global-requirements.txt
|
||||
sed -e '/^\($\|#\)/d' -e 's/^\([^<>=!; ]*\).*/\1/' global-requirements.txt
|
||||
); do
|
||||
# Search for the package name in the set of project requirements,
|
||||
# normalizing hyphens to underscores, and output the package name if
|
||||
|
Loading…
Reference in New Issue
Block a user