archlinuxcn / lilac

Lilac is the build bot for archlinuxcn
GNU General Public License v3.0
113 stars 40 forks source link

Fix some problems of add_into_array() #128

Closed renyuneyun closed 4 years ago

renyuneyun commented 4 years ago

0eadbe1 should now correctly check variable start. If the variable is not an array, that's a (bigger) problem of the PKGBUILD.

88ff86f is actually another implementation of #121, with fewer lines and no conflict.

Maybe I should split this PR into two?

renyuneyun commented 4 years ago

I updated the code to solve the changes requested above.

A bug in the previous commit was found...