From 23884691a1be388608396b00630842b36a9b1066 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:37:36 -0400 Subject: libraries/liblscp: Fixed for bash4. --- libraries/liblscp/liblscp.SlackBuild | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'libraries/liblscp') diff --git a/libraries/liblscp/liblscp.SlackBuild b/libraries/liblscp/liblscp.SlackBuild index e64a0297bd..018fe95947 100644 --- a/libraries/liblscp/liblscp.SlackBuild +++ b/libraries/liblscp/liblscp.SlackBuild @@ -53,17 +53,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( 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 || true -) - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 cd $TMP/$PRGNAM-$VERSION/ -- cgit v1.2.3