summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:21 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:21 -0400
commitb5fed7920c9d96b55d011a34af46c51392d18d10 (patch)
treeefb55b4eacab43bf7971bac046fb8da3d1cf6c73 /libraries
parent15b5ea8ad20f3b61089b66c2bd8b2d31c8173e39 (diff)
downloadslackbuilds-b5fed7920c9d96b55d011a34af46c51392d18d10.tar.gz
libraries/BeautifulSoup: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/BeautifulSoup/BeautifulSoup.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/BeautifulSoup/BeautifulSoup.SlackBuild b/libraries/BeautifulSoup/BeautifulSoup.SlackBuild
index c8bba60c02..e3953890c1 100644
--- a/libraries/BeautifulSoup/BeautifulSoup.SlackBuild
+++ b/libraries/BeautifulSoup/BeautifulSoup.SlackBuild
@@ -53,12 +53,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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION