diff options
author | Breno Leitao <breno.leitao@gmail.com> | 2017-03-22 17:00:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 11:59:18 +0000 |
commit | da720069cab6481dd2f416efbc63c1223584ac2a (patch) | |
tree | 0215fcd14d162e6bff4c6815b6e594dec7ac1773 /abuild.in | |
parent | 0ab473f28a0ced98100cb2e7ffded501610d936f (diff) | |
download | abuild-da720069cab6481dd2f416efbc63c1223584ac2a.tar.gz abuild-da720069cab6481dd2f416efbc63c1223584ac2a.tar.bz2 abuild-da720069cab6481dd2f416efbc63c1223584ac2a.tar.xz abuild-da720069cab6481dd2f416efbc63c1223584ac2a.zip |
abuild: Always print the builder version
Currently is hard to discover what abuild version was used on a build log.
This lack of information makes it hard to reproduce a buld failure.
This change simply adds the abuild version at all logs.
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2337,7 +2337,6 @@ snapshot() { } usage() { - echo "$program $program_version" cat <<-EOF usage: $program [options] [-P REPODEST] [-s SRCDEST] [-D DESCRIPTION] [cmd] ... $program [-c] -n PKGNAME[-PKGVER] @@ -2424,6 +2423,7 @@ while getopts "AcdD:fFhkKimnp:P:qrRs:uv" opt; do done shift $(( $OPTIND - 1 )) +echo "$program $program_version" # check so we are not root if [ $(id -u) -eq 0 ] && [ -z "$FAKEROOTKEY" ]; then [ -z "$forceroot" ] && die "Do not run abuild as root" |