aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:48 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:48 -0400
commita560889f0f965d72d77e7b6662557b7434f67560 (patch)
tree7a54a39b138f6a16cf34cabbbf66a7a1a0b1fe80 /desktop
parent67e6ffe5838143c87ed2d197ad7a0fd8680d9639 (diff)
desktop/xfce4-screenshooter: Fixed for bash4.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild b/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
index 0ea71d28878fe..3b62f9f58728d 100644
--- a/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
+++ b/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
@@ -74,12 +74,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 {} \;