summaryrefslogtreecommitdiff
path: root/misc/xclip
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:21 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:21 -0400
commit7f5e549cc21037b4f1eff65e5c88f6e2f9931146 (patch)
tree800150ee7f5beb1f0943d2f6e28ef80e8e60ac7f /misc/xclip
parent22dac210605a70fb110b9a1661d87e0097f091df (diff)
downloadslackbuilds-7f5e549cc21037b4f1eff65e5c88f6e2f9931146.tar.gz
misc/xclip: Fixed for bash4.
Diffstat (limited to 'misc/xclip')
-rw-r--r--misc/xclip/xclip.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/misc/xclip/xclip.SlackBuild b/misc/xclip/xclip.SlackBuild
index 9c12fb2d6f..cf758bde69 100644
--- a/misc/xclip/xclip.SlackBuild
+++ b/misc/xclip/xclip.SlackBuild
@@ -72,12 +72,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;