summaryrefslogtreecommitdiff
path: root/graphics/tuxpaint/tuxpaint.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tuxpaint/tuxpaint.SlackBuild')
-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