summaryrefslogtreecommitdiff
path: root/libraries/xmonad-contrib
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:42 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:42 -0400
commit75f219424e704622b31e401058f16b784f0957a5 (patch)
tree28e1b571e84b735ec947b65f790f0aaa9f9ccd84 /libraries/xmonad-contrib
parent4324320ae7de618bec4bc98dad3462ab913a6da7 (diff)
downloadslackbuilds-75f219424e704622b31e401058f16b784f0957a5.tar.gz
libraries/xmonad-contrib: Fixed for bash4.
Diffstat (limited to 'libraries/xmonad-contrib')
-rw-r--r--libraries/xmonad-contrib/xmonad-contrib.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/xmonad-contrib/xmonad-contrib.SlackBuild b/libraries/xmonad-contrib/xmonad-contrib.SlackBuild
index 86920a3ecc..93a20cdefa 100644
--- a/libraries/xmonad-contrib/xmonad-contrib.SlackBuild
+++ b/libraries/xmonad-contrib/xmonad-contrib.SlackBuild
@@ -55,12 +55,8 @@ runghc Setup.lhs haddock
runghc Setup.lhs copy --destdir=$PKG
runghc Setup.lhs 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
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
cp -a scripts $PKG/usr/doc/$PRGNAM-$VERSION/scripts