summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:30 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:30 -0400
commitb2c0044f5020ed4ff35b25a90b8176f7438dd9f6 (patch)
tree0589de63d1615c8d03814e92701fff90a155a45e
parent3c9c373abc92bfb2b125f56ac9815e3bd379d414 (diff)
downloadslackbuilds-b2c0044f5020ed4ff35b25a90b8176f7438dd9f6.tar.gz
network/corkscrew: Fixed for bash4.
-rw-r--r--network/corkscrew/corkscrew.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/corkscrew/corkscrew.SlackBuild b/network/corkscrew/corkscrew.SlackBuild
index ed0021f63a..7a4d318ad4 100644
--- a/network/corkscrew/corkscrew.SlackBuild
+++ b/network/corkscrew/corkscrew.SlackBuild
@@ -72,12 +72,8 @@ CXXFLAGS="$SLKCFLAGS" \
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
# No man pages :-/
# I leave this section for future use (hopefully)