Age | Commit message (Collapse) | Author |
|
|
|
|
|
Besides a few code-technique things,
- delay executing an action like clean until all options are parsed;
before `librerelease -nc` and `librerelease -nc` were very
different.
- fix the clean action
|
|
|
|
|
|
also, use print(), which has gettext support built in
|
|
|
|
Contained the text "# TODO refactor this", and I can't just stick to that
fragment of code, can I?
I actually didn't change too much, despite what the diff looks like.
- move everything into a main() routine
- redo the usage() text
- rename a few variables
- fix where "${#repos}" should have been "${#repos[@]}"
- use [[...]] instead of [...]
- use "if A; then B; else C; fi" instead of "A || C && B"
- use CARCH instead of looping over every possible architecture.
- only look for files that match PKGEXT, as set in makepkg.conf
- pull out duplicate code for error handling
- don't warn when creating "staging/REPONAME"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All such resigns were interactive and unneeded.
|
|
|
|
This fixes a bug with it assuming that version is the same across split
packages (and possibly other bugs).
|
|
I did this by making the assumption that the files in a directory are
dividable into 2 groups: those that are executable, and those that aren't, and
that all of the files in each group all go in the same folder when
installed.
These install directories are configurable per source directory with
$(libre_execdir) and $(libre_datadir)
|
|
|