From 2a3bfcb7a587e5078bc7d89bb8dfb607f5479b8e Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:47:35 -0400 Subject: [PATCH] office/rednotebook: Fixed for bash4. --- office/rednotebook/rednotebook.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/office/rednotebook/rednotebook.SlackBuild b/office/rednotebook/rednotebook.SlackBuild index 69972ad824..41bb56e7a4 100644 --- a/office/rednotebook/rednotebook.SlackBuild +++ b/office/rednotebook/rednotebook.SlackBuild @@ -39,12 +39,8 @@ install -m 644 rednotebook.desktop $PKG/usr/share/applications mkdir -p $PKG/usr/share/pixmaps install -m 644 rednotebook.png $PKG/usr/share/pixmaps -( 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 -) +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 AUTHORS CHANGELOG LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION