aboutsummaryrefslogtreecommitdiff
path: root/libraries/cryptopp
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:51 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:51 -0400
commit574a20d2520221dfb06432e87279e1fc1cd48bd0 (patch)
treead92b0364fca229c52b7cb5b481a7d6d64ba4f14 /libraries/cryptopp
parentc09b5d4ccc01b8a319a73f3ead651178be125cf5 (diff)
libraries/cryptopp: Fixed for bash4.
Diffstat (limited to 'libraries/cryptopp')
-rw-r--r--libraries/cryptopp/cryptopp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild
index 5f01e1ca9de8..6a2b964bd1a6 100644
--- a/libraries/cryptopp/cryptopp.SlackBuild
+++ b/libraries/cryptopp/cryptopp.SlackBuild
@@ -46,12 +46,8 @@ sed -i -e "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install PREFIX=$PKG/usr
-( 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 *.txt $PKG/usr/doc/$PRGNAM-$VERSION