Merge "Always strip package comments"

This commit is contained in:
Jenkins
2016-02-19 11:20:55 +00:00
committed by Gerrit Code Review

View File

@@ -1096,8 +1096,9 @@ function _parse_package_files {
continue continue
fi fi
# Assume we want this package # Assume we want this package; free-form
package=${line%#*} # comments allowed after a #
package=${line%%#*}
inst_pkg=1 inst_pkg=1
# Look for # dist:xxx in comment # Look for # dist:xxx in comment