summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:12 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:12 -0400
commit175fa816cdea3988c535bc25de553d3d5f40346d (patch)
treeff8ca3d5b9f57b446de9ec48ecfcdeee9631f418
parent08dc3063a8d9dc1e95321e115327d98b9a26610f (diff)
downloadslackbuilds-175fa816cdea3988c535bc25de553d3d5f40346d.tar.gz
network/ucspi-tcp: Fixed for bash4.
-rw-r--r--network/ucspi-tcp/ucspi-tcp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/ucspi-tcp/ucspi-tcp.SlackBuild b/network/ucspi-tcp/ucspi-tcp.SlackBuild
index 2da3be4ccc..43bf15f573 100644
--- a/network/ucspi-tcp/ucspi-tcp.SlackBuild
+++ b/network/ucspi-tcp/ucspi-tcp.SlackBuild
@@ -48,12 +48,8 @@ patch -p1 < $CWD/patches/ucspi-tcp-0.88.a_record.patch
make setup check
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES README TODO $PKG/usr/doc/$PRGNAM-$VERSION