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:
Davanum Srinivas 2016-05-06 16:05:13 -04:00
parent c7f8c7c69d
commit 836a390b91
1 changed files with 1 additions and 1 deletions

View File

@ -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