From 92af0b86972f34ae0607ad173f946b97c0815e4f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 13 Feb 2012 09:50:39 +0000 Subject: [PATCH] abuild: fix post check messages --- abuild.in | 6 +++--- 1 file 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|")