aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:49 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:49 -0400
commit46c0047058fe2aaafb8a41f1039b8db4bc04d621 (patch)
treee57b0cb912a8c7f1dcb7e7c9a20df83eab1ec76d /system
parent290b1f489875c1de435e19f7ee7aa0feb792ec4d (diff)
system/wine: Fixed for bash4.
Diffstat (limited to 'system')
-rw-r--r--system/wine/wine.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/wine/wine.SlackBuild b/system/wine/wine.SlackBuild
index 74ad11987ad40..f692a99f54e9a 100644
--- a/system/wine/wine.SlackBuild
+++ b/system/wine/wine.SlackBuild
@@ -90,12 +90,8 @@ make depend
make
make install DESTDIR=$PKG
-( 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 || exit 1
find . -type f -exec gzip -9 {} \;