buildrepo: bug when detecintg what files to remove
If there is a broken APKBUILD in the repo buildrepo will delete way to many packages when cleaning up.
This was discovered by aports:commit:d50a574f3f773ff759ccbbcac7f45d9b41d1f592 This commit made the the sourcing of APKBUILD (eg: . ./APKBUILD) break and the shell exit. Since this happens when detecting what files not delete, the result was that almost the entire edge repository got deleted.
(from redmine: issue id 2290, created on 2013-10-21, closed on 2013-10-31)
- Changesets:
- Revision 884c4d94f364f58f5356178d118e96b57317ae7e by Natanael Copa on 2013-10-21T16:00:09Z:
main/abuild: buildrepo: exit before purging package on broken APKBUILDs
fixes #2290