summaryrefslogtreecommitdiff
path: root/libraries/xmonad-contrib/xmonad-contrib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xmonad-contrib/xmonad-contrib.SlackBuild')
-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