forked from Lainports/freebsd-ports
Mk/Scripts: protect URL string by enclosing it quotes
The format of the manifest file does not allow commas in values. Since URLs may include commas, they need to be protected against interpretation of these commas as field separators. This update unbreaks the package generation for ports that have a comma in the URL. Approved by: portmgr (implcit)
This commit is contained in:
parent
2ee1bbcf71
commit
0d7e17c121
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ licenselogic: ${dp_LICENSE_COMB:-single}
|
|||
EOT
|
||||
|
||||
# Then, the optional bits
|
||||
[ -z "${dp_WWW}" ] || echo "www: ${dp_WWW}"
|
||||
[ -z "${dp_WWW}" ] || echo "www: \"${dp_WWW}\""
|
||||
[ -z "${dp_LICENSE}" ] || echo "licenses: [ ${dp_LICENSE} ]"
|
||||
[ -z "${dp_USERS}" ] || echo "users: [ ${dp_USERS} ]"
|
||||
[ -z "${dp_GROUPS}" ] || echo "groups: [ ${dp_GROUPS} ]"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue