summaryrefslogtreecommitdiff
path: root/development/pylint/pylint.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:56 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:56 -0400
commit282ea9de1d96fff0955277aa901f558f3e56c9b4 (patch)
tree2ba6fb27056bc502e4c17c026f6d8a86e55a8a20 /development/pylint/pylint.SlackBuild
parentad1a9ae5ea3c930a4b6a4a01bd8d826d5e984227 (diff)
downloadslackbuilds-282ea9de1d96fff0955277aa901f558f3e56c9b4.tar.gz
development/pylint: Fixed for bash4.
Diffstat (limited to 'development/pylint/pylint.SlackBuild')
-rw-r--r--development/pylint/pylint.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/pylint/pylint.SlackBuild b/development/pylint/pylint.SlackBuild
index 29e7f93d5c..8e2aecc7af 100644
--- a/development/pylint/pylint.SlackBuild
+++ b/development/pylint/pylint.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
rm -rf ${PKG}/usr/share