aboutsummaryrefslogtreecommitdiff
path: root/libraries/haskell-parsec
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:52 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:36:52 -0400
commit6de109cffda29f18e1b5615ee095a2bfe60ed5ad (patch)
treec04c142825947ea2ea590e3e87259dbd21ca5467 /libraries/haskell-parsec
parent8dc18fe8496564973e932dcf9069d215ef8a32bc (diff)
libraries/haskell-parsec: Fixed for bash4.
Diffstat (limited to 'libraries/haskell-parsec')
-rw-r--r--libraries/haskell-parsec/haskell-parsec.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/haskell-parsec/haskell-parsec.SlackBuild b/libraries/haskell-parsec/haskell-parsec.SlackBuild
index c93cce934c3f..b53ab2166493 100644
--- a/libraries/haskell-parsec/haskell-parsec.SlackBuild
+++ b/libraries/haskell-parsec/haskell-parsec.SlackBuild
@@ -61,12 +61,8 @@ runghc Setup.hs haddock
runghc Setup.hs copy --destdir=$PKG
runghc Setup.hs register --gen-script
-( 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 LICENSE $PKG/usr/doc/$PRGNAM-$VERSION