aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:52 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:52 -0400
commit378490e78e027c23c924596f81b1dfe55ab9f7be (patch)
tree37928b56217037df78b37811652cb055b4addf80 /system
parentca4ada2a64f157ed3fc4931b5900e47e26ef8095 (diff)
system/gigolo: Fixed for bash4.
Diffstat (limited to 'system')
-rw-r--r--system/gigolo/gigolo.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/gigolo/gigolo.SlackBuild b/system/gigolo/gigolo.SlackBuild
index 97c8da05c8124..154ea759c4cb0 100644
--- a/system/gigolo/gigolo.SlackBuild
+++ b/system/gigolo/gigolo.SlackBuild
@@ -57,12 +57,8 @@ if [ x"${GNOMEMOUNT:-"yes"}" = "xyes" ]; then
chmod 0755 $PKG/usr/bin/gnome-mount
fi
-( 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 {} \;