xbps-src: "build-options" obj is a string, no newlines accepted.

This commit is contained in:
Juan RP 2019-12-29 20:19:54 +01:00
parent aed275aa4d
commit 8c9aca6426
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368

View file

@ -206,7 +206,7 @@ set_build_options() {
for f in ${build_options}; do
[[ "${options[$f]}" -eq 1 ]] || printf '~'
printf '%s\n' "$f"
done | sort
done | sort | tr -s '\n' ' '
)
}