summaryrefslogtreecommitdiff
path: root/academic/matplotlib/matplotlib.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:38 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:38 -0400
commita0cbcb55e08cee5698f087457a700855961b8e74 (patch)
tree25dcc6622bda2a4164529a94d106288d2b929cab /academic/matplotlib/matplotlib.SlackBuild
parentc8c34c16be34fd3ee1e4c8a2580baf5a312376ef (diff)
downloadslackbuilds-a0cbcb55e08cee5698f087457a700855961b8e74.tar.gz
academic/matplotlib: Fixed for bash4.
Diffstat (limited to 'academic/matplotlib/matplotlib.SlackBuild')
-rw-r--r--academic/matplotlib/matplotlib.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/matplotlib/matplotlib.SlackBuild b/academic/matplotlib/matplotlib.SlackBuild
index 08530e3e92..acb67c8e67 100644
--- a/academic/matplotlib/matplotlib.SlackBuild
+++ b/academic/matplotlib/matplotlib.SlackBuild
@@ -32,12 +32,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
install -m 0644 \