summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:57 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:57 -0400
commit0907198a31b20322d4f156f4c7b09cc536a42653 (patch)
tree5811a97a2551959e25011e6a8152df654b37c7b8
parent93b0cf8a42c0647fec6d3570484880f0bf8f146e (diff)
downloadslackbuilds-0907198a31b20322d4f156f4c7b09cc536a42653.tar.gz
slackbuilds-0907198a31b20322d4f156f4c7b09cc536a42653.tar.xz
graphics/fotowall: Fixed for bash4.
-rw-r--r--graphics/fotowall/fotowall.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/fotowall/fotowall.SlackBuild b/graphics/fotowall/fotowall.SlackBuild
index 890ec20b6f..4b1abb2412 100644
--- a/graphics/fotowall/fotowall.SlackBuild
+++ b/graphics/fotowall/fotowall.SlackBuild
@@ -51,12 +51,8 @@ make \
CXXFLAGS="-pipe $SLKCFLAGS -Wall -W -D_REENTRANT \$(DEFINES)"
make install INSTALL_ROOT=$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 {} \;