summaryrefslogtreecommitdiff
path: root/graphics/mtpaint
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:04 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:04 -0400
commitd460767fb3878c411390d902e06dd1015e4c1f10 (patch)
treed17bce04ab398f5be712321d4905a4c083733e5c /graphics/mtpaint
parenta4b2ed0ed22d6eb3507b9bb3e8bfb8d705beeeb7 (diff)
downloadslackbuilds-d460767fb3878c411390d902e06dd1015e4c1f10.tar.gz
graphics/mtpaint: Fixed for bash4.
Diffstat (limited to 'graphics/mtpaint')
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index df53fd337a..33e15c24d2 100644
--- a/graphics/mtpaint/mtpaint.SlackBuild
+++ b/graphics/mtpaint/mtpaint.SlackBuild
@@ -62,12 +62,8 @@ make
make DESTDIR=$PKG install
(cd $PKG/usr/bin && ln -s mtpaint mtv)
-( 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 {} \;