summaryrefslogtreecommitdiff
path: root/system/imwheel
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:20 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:20 -0400
commit0007982144544248cee3a6586fe982727cc73bff (patch)
treec57ac6e0164973df5370a04e6a8da71c573cb20a /system/imwheel
parent0988c258c5ed6abf7567b724e5e00790d3bbd0bf (diff)
downloadslackbuilds-0007982144544248cee3a6586fe982727cc73bff.tar.gz
system/imwheel: Fixed for bash4.
Diffstat (limited to 'system/imwheel')
-rw-r--r--system/imwheel/imwheel.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/imwheel/imwheel.SlackBuild b/system/imwheel/imwheel.SlackBuild
index 2036945601..baccf626ae 100644
--- a/system/imwheel/imwheel.SlackBuild
+++ b/system/imwheel/imwheel.SlackBuild
@@ -75,12 +75,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG ETCDIR=$PKG/etc/X11/imwheel
-( 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 {} \;