diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 11:44:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 11:59:18 +0000 |
commit | d03366f80cdd23b913f45729456e11cda8b610a8 (patch) | |
tree | b68c34bc52c9bcae964457f20a777684be1d6a43 /abuild.in | |
parent | da720069cab6481dd2f416efbc63c1223584ac2a (diff) | |
download | abuild-d03366f80cdd23b913f45729456e11cda8b610a8.tar.gz abuild-d03366f80cdd23b913f45729456e11cda8b610a8.tar.bz2 abuild-d03366f80cdd23b913f45729456e11cda8b610a8.tar.xz abuild-d03366f80cdd23b913f45729456e11cda8b610a8.zip |
abuild: avoid print version multiple times
and respect -q flag
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2423,7 +2423,6 @@ 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" @@ -2481,6 +2480,9 @@ if [ -n "$subpkgname" ]; then origsubpackages="$subpackages" subpackages= else + if [ -z "$FAKEROOTKEY" ]; then + msg "$program $program_version" + fi allpackages="$pkgname $subpackages" for i in $linguas; do allpackages="$allpackages $pkgname-lang-$i::noarch" |