Skip to content

Commit 80ea24c

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Always strip package comments"
2 parents 134e1d3 + 1ff75ff commit 80ea24c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

functions-common

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,8 +1096,9 @@ function _parse_package_files {
10961096
continue
10971097
fi
10981098

1099-
# Assume we want this package
1100-
package=${line%#*}
1099+
# Assume we want this package; free-form
1100+
# comments allowed after a #
1101+
package=${line%%#*}
11011102
inst_pkg=1
11021103

11031104
# Look for # dist:xxx in comment

0 commit comments

Comments
 (0)