aboutsummaryrefslogtreecommitdiff
path: root/graphics/povray
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:08 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:08 -0400
commit60a6f441a1110a9135b640dc3ce57d503c20a421 (patch)
tree62be5e3d6d6eafdaf2498d23f3ae8abd48538e55 /graphics/povray
parentc2a9f5aa6b97effe1950ac464c91f0c03c5ac9b9 (diff)
graphics/povray: Fixed for bash4.
Diffstat (limited to 'graphics/povray')
-rw-r--r--graphics/povray/povray.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild
index e0704a066d037..1bda7c90abad2 100644
--- a/graphics/povray/povray.SlackBuild
+++ b/graphics/povray/povray.SlackBuild
@@ -56,12 +56,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 {} \;