diff options
author | rillig <rillig@pkgsrc.org> | 2006-08-01 13:16:41 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-08-01 13:16:41 +0000 |
commit | 5b2a5cfec67a7e7c1df30eb44ec8da4bdde81164 (patch) | |
tree | eba274b07dff9ab0b81150282321b6aac2e9433a /mk/tools | |
parent | 67ae7f624d91e266f7fff82a95a83431842b791c (diff) | |
download | pkgsrc-5b2a5cfec67a7e7c1df30eb44ec8da4bdde81164.tar.gz |
Rewrote upload to use the newly introduced sort-packages program.
While here, ...
- Added stricter checking by using "set -eu".
- The bulk build configuration file is properly included, and the
MAKECONF definition that it may contain is properly exported.
- All progress messages and error messages are prefixed by "upload>",
so that it is obvious where the messages come from.
- Since extracting the make(1) variables takes quite a long time, print
an informational message before doing that.
- Removed the use of the error-prone lintpkgsrc to detect whether a
package is restricted or vulnerable.
- If an error occurs, the upload program returns an exitcode of 1,
which is common among Unix utilities.
- Removed almost all pipe operators, since they tend to hide program
failures.
- All error messages are redirected to stderr instead of stdout.
Diffstat (limited to 'mk/tools')
0 files changed, 0 insertions, 0 deletions