diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:36:52 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:36:52 -0400 |
commit | 6de109cffda29f18e1b5615ee095a2bfe60ed5ad (patch) | |
tree | c04c142825947ea2ea590e3e87259dbd21ca5467 | |
parent | 8dc18fe8496564973e932dcf9069d215ef8a32bc (diff) | |
download | slackbuilds-6de109cffda29f18e1b5615ee095a2bfe60ed5ad.tar.gz |
libraries/haskell-parsec: Fixed for bash4.
-rw-r--r-- | libraries/haskell-parsec/haskell-parsec.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/haskell-parsec/haskell-parsec.SlackBuild b/libraries/haskell-parsec/haskell-parsec.SlackBuild index c93cce934c..b53ab21664 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 |