summaryrefslogtreecommitdiffstats
path: root/graphics/tuxpaint
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:16 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:16 -0400
commit7cf3b377753f227258d87accd6a5e9af1de6ef51 (patch)
tree12d10f44471bc539f0c17e171b239b63303569c9 /graphics/tuxpaint
parent6558f210bde89bd5621b3022b903f8a51d2dd576 (diff)
downloadslackbuilds-7cf3b377753f227258d87accd6a5e9af1de6ef51.tar.gz
slackbuilds-7cf3b377753f227258d87accd6a5e9af1de6ef51.tar.xz
graphics/tuxpaint: Fixed for bash4.
Diffstat (limited to 'graphics/tuxpaint')
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild
index 032a6971dc..ccc29e8319 100644
--- a/graphics/tuxpaint/tuxpaint.SlackBuild
+++ b/graphics/tuxpaint/tuxpaint.SlackBuild
@@ -52,12 +52,8 @@ mv $PKG/etc/tuxpaint/tuxpaint.conf $PKG/etc/tuxpaint/tuxpaint.conf.new
# Puzzle plugin is broken
rm -f $PKG/usr/lib64/tuxpaint/plugins/puzzle.so
-( 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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild