summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:55 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:55 -0400
commit8780976b9ac224b2ce2a390c2e308d96764f5bfb (patch)
treea79049098a743dd3712e0daaa2a09f9e6eeba8e1
parent325309f885141572bed8e23a8b67a9ee77eb8967 (diff)
downloadslackbuilds-8780976b9ac224b2ce2a390c2e308d96764f5bfb.tar.gz
libraries/podofo: Fixed for bash4.
-rw-r--r--libraries/podofo/podofo.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/podofo/podofo.SlackBuild b/libraries/podofo/podofo.SlackBuild
index 168772e8ae..2f107e6bba 100644
--- a/libraries/podofo/podofo.SlackBuild
+++ b/libraries/podofo/podofo.SlackBuild
@@ -60,12 +60,8 @@ mkdir build && 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
-)
+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 \