diff --git a/functions.sh.in b/functions.sh.in index 395e407..f1db66c 100644 --- a/functions.sh.in +++ b/functions.sh.in @@ -109,7 +109,9 @@ abuild) local prompt="$GREEN>>>${NORMAL}" local fake="${FAKEROOTKEY:+${BLUE}*${NORMAL}}" local name="${STRONG}${subpkgname:-$pkgname}${NORMAL}" - [ -z "$quiet" ] && printf "${prompt} ${name}${fake}: $@\n" >&2 + if [ -z "$quiet" ]; then + printf "${prompt} ${name}${fake}: $@\n" >&2 + fi } warning() { @@ -129,7 +131,9 @@ abuild) *) msg() { # Here we write to stdout, but abuild's fancier messages write to stderr - [ -z "$quiet" ] && echo "$@" + if [ -z "$quiet" ]; then + echo "$@" + fi } error() {