aboutsummaryrefslogtreecommitdiff
path: root/network/ucspi-ssl/ucspi-ssl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ucspi-ssl/ucspi-ssl.SlackBuild')
-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 0ded55ffcd701..76d3eeb2f3a77 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