path: root/test/librestage.d/PKGBUILD-hello
AgeCommit message (Collapse)Author
2014-11-28Woops, also s/ in test/v20141128Luke Shumaker
2013-06-05librestage: clean up, add unit testsLuke Shumaker
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"