Closed DDoSolitary closed 3 years ago
One quick but ugly solution: always use double quotes in _add_into_array
. I guess it is OK because it is very unlikely that a package has special characters in its dependencies.
Or we need rewrite the parsing part to save the quotes used in the original file.
Switching to double quotes sounds fine to me.
For example, the
lib32-fltk
AUR package has"${pkgname#lib32-}"
in itsdepends
array. If I calladd_depends()
when building this package, it goes broken because the double quotes are blindly replaced by single quotes by_add_into_array
.