plist: fix variable expansion when a line ends with '%'
modified libpkg/pkg_ports.c
@@ -1098,8 +1098,10 @@ expand_plist_variables(const char *in, kvlist_t *vars)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
modified tests/lib/plist.c
@@ -310,6 +310,14 @@ ATF_TC_BODY(expand_plist_variables, tc)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|