| ... | ... |
@@ -1096,8 +1096,9 @@ function _parse_package_files {
|
| 1096 | 1096 |
continue |
| 1097 | 1097 |
fi |
| 1098 | 1098 |
|
| 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%%#*}
|
|
| 1101 | 1102 |
inst_pkg=1 |
| 1102 | 1103 |
|
| 1103 | 1104 |
# Look for # dist:xxx in comment |