aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:10 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:10 -0400
commit08dc3063a8d9dc1e95321e115327d98b9a26610f (patch)
tree794180b81803c2a4354de89e3111c82a1af3b4c1 /network
parent6f29d959fa201da8e1f0e730eed249c02c81f4f7 (diff)
network/ucspi-ssl: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/ucspi-ssl/ucspi-ssl.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/ucspi-ssl/ucspi-ssl.SlackBuild b/network/ucspi-ssl/ucspi-ssl.SlackBuild
index 0ded55ffcd70..76d3eeb2f3a7 100644
--- a/network/ucspi-ssl/ucspi-ssl.SlackBuild
+++ b/network/ucspi-ssl/ucspi-ssl.SlackBuild
@@ -53,12 +53,8 @@ patch -p1 < $CWD/$PRGNAM-$VERSION.SlackBuild.patch
./package/compile
./package/install
-( 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 package/README $PKG/usr/doc/$PRGNAM-$VERSION