diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-13 09:50:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-13 13:49:25 +0000 |
commit | 92af0b86972f34ae0607ad173f946b97c0815e4f (patch) | |
tree | 29e3c38dd483fd64d3b7a12ab6c15ea9ec074a4e /abuild.in | |
parent | f7c56801e962c39eac84dcde40c219f6abb0e09b (diff) | |
download | abuild-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-x | abuild.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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|") |