diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-26 13:32:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-26 13:32:44 +0000 |
commit | 044359f0ade2460cfc1498a4633e9de5c807eef7 (patch) | |
tree | 1b8d860a827966443a48872e635685c51a050bbb /functions.sh | |
parent | e609357a1c6ce32fba94c84c58502ebed19ebe32 (diff) | |
download | abuild-044359f0ade2460cfc1498a4633e9de5c807eef7.tar.gz abuild-044359f0ade2460cfc1498a4633e9de5c807eef7.tar.bz2 abuild-044359f0ade2460cfc1498a4633e9de5c807eef7.tar.xz abuild-044359f0ade2460cfc1498a4633e9de5c807eef7.zip |
abuild: style fixes
Diffstat (limited to 'functions.sh')
-rw-r--r-- | functions.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/functions.sh b/functions.sh index 6dde80c..032a7e6 100644 --- a/functions.sh +++ b/functions.sh @@ -13,22 +13,22 @@ fi # functions msg() { local prompt="$GREEN>>>${NORMAL}" - local fake="${FAKEROOTKEY:+${BLUE}(fakeroot)${NORMAL} }" + local fake="${FAKEROOTKEY:+${BLUE}*${NORMAL}}" local name="${STRONG}${subpkgname:-$pkgname}${NORMAL}" - [ -z "$quiet" ] && printf "${prompt} ${fake}${name}: $@\n" >&2 + [ -z "$quiet" ] && printf "${prompt} ${name}${fake}: $@\n" >&2 } warning() { - local prompt="${YELLOW}>>> WARNING: ${NORMAL}" - local fake="${FAKEROOTKEY:+${BLUE}(fakeroot)${NORMAL} }" + local prompt="${YELLOW}>>> WARNING:${NORMAL}" + local fake="${FAKEROOTKEY:+${BLUE}*${NORMAL}}" local name="${STRONG}${subpkgname:-$pkgname}${NORMAL}" - printf "${prompt} ${fake}${name}: $@\n" >&2 + printf "${prompt} ${name}${fake}: $@\n" >&2 } error() { - local prompt="${RED}>>> ERROR: ${NORMAL}" - local fake="${FAKEROOTKEY:+${BLUE}(fakeroot)${NORMAL} }" + local prompt="${RED}>>> ERROR:${NORMAL}" + local fake="${FAKEROOTKEY:+${BLUE}*${NORMAL}}" local name="${STRONG}${subpkgname:-$pkgname}${NORMAL}" - printf "${prompt} ${fake}${name}: $@\n" >&2 + printf "${prompt} ${name}${fake}: $@\n" >&2 } |