summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-13 09:50:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-13 13:49:25 +0000
commit92af0b86972f34ae0607ad173f946b97c0815e4f (patch)
tree29e3c38dd483fd64d3b7a12ab6c15ea9ec074a4e /abuild.in
parentf7c56801e962c39eac84dcde40c219f6abb0e09b (diff)
downloadabuild-92af0b86972f34ae0607ad173f946b97c0815e4f.tar.gz
abuild-92af0b86972f34ae0607ad173f946b97c0815e4f.tar.bz2
abuild-92af0b86972f34ae0607ad173f946b97c0815e4f.tar.xz
abuild-92af0b86972f34ae0607ad173f946b97c0815e4f.zip
abuild: fix post check messages
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/abuild.in b/abuild.in
index 47492f8..84029ba 100755
--- a/abuild.in
+++ b/abuild.in
@@ -547,16 +547,16 @@ prepare_subpackages() {
$0 $func prepare_package || return 1
done
# post check
- i=$(find "$pkgdir" -name '*.la')
+ i=$(find "$pkgdir" -name '*.la' | sed "s|^$pkgdir|\t|")
if [ -n "$i" ] && ! options_has "libtool"; then
error "Libtool archives (*.la) files found and \$options has no 'libtool' flag:"
- echo "$i" | sed 's/^/ /'
+ echo "$i"
return 1
fi
# post check for /usr/share/locale
if [ -d "$pkgdir"/usr/share/locale ]; then
warning "Found /usr/share/locale"
- warning "Maybe add \$pkgname-lang to subpackages?"
+ warning2 "Maybe add \$pkgname-lang to subpackages?"
fi
# check directory permissions
i=$(find "$pkgdir" -type d -perm -777 | sed "s|^$pkgdir|\t|")