From 8948c4cc8d138f604ceba4825038e8248743cbcd Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:30:44 -0400 Subject: academic/opengrads: Fixed for bash4. --- academic/opengrads/opengrads.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'academic/opengrads') diff --git a/academic/opengrads/opengrads.SlackBuild b/academic/opengrads/opengrads.SlackBuild index 8f2a619e35..83a677e20d 100644 --- a/academic/opengrads/opengrads.SlackBuild +++ b/academic/opengrads/opengrads.SlackBuild @@ -58,12 +58,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -( 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 ( cd $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3