aboutsummaryrefslogtreecommitdiff
path: root/libraries/bsddb3
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:43 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:43 -0400
commit5cd6d89afd6249af676bba5cccb25ca3ec91a2c1 (patch)
tree3ada4a44ab6ca0f1973cb57b7679106e1e62104b /libraries/bsddb3
parent967549899796e75a455ae99dce23d98b86303d41 (diff)
libraries/bsddb3: Fixed for bash4.
Diffstat (limited to 'libraries/bsddb3')
-rw-r--r--libraries/bsddb3/bsddb3.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/bsddb3/bsddb3.SlackBuild b/libraries/bsddb3/bsddb3.SlackBuild
index 0873805ed0b38..24e89cbef57bf 100644
--- a/libraries/bsddb3/bsddb3.SlackBuild
+++ b/libraries/bsddb3/bsddb3.SlackBuild
@@ -30,12 +30,8 @@ find . \
python setup.py install --root=$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 ChangeLog *.txt $PKG/usr/doc/$PRGNAM-$VERSION