summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:48 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:48 -0400
commit314666a7b32dd2c42d2c3c34b670399f6b723567 (patch)
tree28816811ede09446bf19848a3b5af242570f5b59
parentcbe529a413c7c180e92e258edc2b64f5c2545e02 (diff)
downloadslackbuilds-314666a7b32dd2c42d2c3c34b670399f6b723567.tar.gz
libraries/libnetfilter_queue: Fixed for bash4.
-rw-r--r--libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild b/libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild
index b36afd95ae..146f90fcc5 100644
--- a/libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild
+++ b/libraries/libnetfilter_queue/libnetfilter_queue.SlackBuild
@@ -72,12 +72,8 @@ CFLAGS="$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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION