summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librerelease
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-24 00:03:58 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-24 00:03:58 -0400
commit0b4ca504362f65036e27bca620aee9710e2f3004 (patch)
tree4b4d365ea168aeaafb8cb56aacfaaa9031b60fbd /src/abslibre-tools/librerelease
parent2b4bc5eff0c3b7cbb1d5b50c62eaf02f3f9badab (diff)
librerelease: tidy
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-xsrc/abslibre-tools/librerelease6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index 41eb21b..6bab598 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -36,8 +36,10 @@
# create_signature() is taken from pacman:makepkg, which is GPLv2+,
# so we take the '+' to combine it with our GPLv3+.
+set -euE
. "$(librelib messages)"
. "$(librelib conf)"
+setup_traps
dryrun=""
upload_only=false
@@ -123,9 +125,7 @@ clean_files() {
usage() {
print "Usage: %s [OPTIONS]" "${0##*/}"
- echo
- prose 'This script uploads packages on $WORKDIR/staging
- to the Parabola server.'
+ print 'Upload packages in $WORKDIR/staging to the Parabola server.'
echo
print "Options:"
flag '-c' 'Clean; delete packages in $WORKDIR/staging'