summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:03 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:03 -0400
commitd51941ac579534906f445bad751165ed9eea67aa (patch)
tree22cef3cfd224e9a1c0cb3af808b17029f2defc38
parent1d333b7f73e4682131662256762507b3127be648 (diff)
downloadslackbuilds-d51941ac579534906f445bad751165ed9eea67aa.tar.gz
system/cage: Fixed for bash4.
-rw-r--r--system/cage/cage.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/cage/cage.SlackBuild b/system/cage/cage.SlackBuild
index 3e285bdf28..621f9da4a0 100644
--- a/system/cage/cage.SlackBuild
+++ b/system/cage/cage.SlackBuild
@@ -57,12 +57,8 @@ CFLAGS="$SLKCFLAGS" \
make CFLAGS="$SLKCFLAGS"
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 || 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 {} \;