summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:54 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:54 -0400
commitfd08e85e1f12d6b2e9a9bb5bfb8dc0e1d5ef2e24 (patch)
tree43ec398fb92d5684399da228247f73108004bccb
parente25758a56b87d1fadde7a15b3ab4c27e27ef5405 (diff)
downloadslackbuilds-fd08e85e1f12d6b2e9a9bb5bfb8dc0e1d5ef2e24.tar.gz
office/akonadi-googledata: Fixed for bash4.
-rw-r--r--office/akonadi-googledata/akonadi-googledata.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/office/akonadi-googledata/akonadi-googledata.SlackBuild b/office/akonadi-googledata/akonadi-googledata.SlackBuild
index 437ebad3c8..3eeabc53d4 100644
--- a/office/akonadi-googledata/akonadi-googledata.SlackBuild
+++ b/office/akonadi-googledata/akonadi-googledata.SlackBuild
@@ -55,12 +55,8 @@ cd build
make install DESTDIR=$PKG
cd -
-( 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 \