summaryrefslogtreecommitdiff
path: root/desktop/macopix/macopix.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:57 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:57 -0400
commitd6898b20dd3afd2d8c8613c20551ad50e7cddcfc (patch)
tree21971ca70b16af07bedf460726d498bf82b99dbc /desktop/macopix/macopix.SlackBuild
parent8499033698a4b355dc97059dd541c5e04147f468 (diff)
downloadslackbuilds-d6898b20dd3afd2d8c8613c20551ad50e7cddcfc.tar.gz
desktop/macopix: Fixed for bash4.
Diffstat (limited to 'desktop/macopix/macopix.SlackBuild')
-rw-r--r--desktop/macopix/macopix.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/macopix/macopix.SlackBuild b/desktop/macopix/macopix.SlackBuild
index e4fbf55765..cbf97cfb8d 100644
--- a/desktop/macopix/macopix.SlackBuild
+++ b/desktop/macopix/macopix.SlackBuild
@@ -56,12 +56,8 @@ make
make install DESTDIR=$PKG
mkdir -p $PKG/usr/share/macopix/{pixmap,sounds}
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;