From fc00ff23a4969494deb7c10775ce265ee429f52b Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:31:30 -0400 Subject: audio/shorten: Fixed for bash4. --- audio/shorten/shorten.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'audio/shorten/shorten.SlackBuild') diff --git a/audio/shorten/shorten.SlackBuild b/audio/shorten/shorten.SlackBuild index 71c8f43c2f..bb6e0250d1 100644 --- a/audio/shorten/shorten.SlackBuild +++ b/audio/shorten/shorten.SlackBuild @@ -52,12 +52,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make DESTDIR=$PKG install -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a [ACINR]* $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3