From 40e09e00ff21f3a38415224c99afd1abd6fcbf30 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:46:37 -0400 Subject: [PATCH] network/xnetload: Fixed for bash4. --- network/xnetload/xnetload.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/network/xnetload/xnetload.SlackBuild b/network/xnetload/xnetload.SlackBuild index 9a7ee1863d..6730297138 100644 --- a/network/xnetload/xnetload.SlackBuild +++ b/network/xnetload/xnetload.SlackBuild @@ -48,12 +48,8 @@ make mkdir -p $PKG/usr/bin $PKG/usr/man/man1 make install BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man/man1 -( 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild