summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:23 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:39:23 -0400
commitc362e27c26bb355b721e2ba991d884ae71294d1b (patch)
tree7f4c2a8516116cc5eb53c68a504939bc828fa38a
parent508ac0d9a3e7175defa1fda2536dca13e27c6839 (diff)
downloadslackbuilds-c362e27c26bb355b721e2ba991d884ae71294d1b.tar.gz
libraries/qwt: Fixed for bash4.
-rw-r--r--libraries/qwt/qwt.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/qwt/qwt.SlackBuild b/libraries/qwt/qwt.SlackBuild
index 6454f8d46d..1afca22b29 100644
--- a/libraries/qwt/qwt.SlackBuild
+++ b/libraries/qwt/qwt.SlackBuild
@@ -56,12 +56,8 @@ make \
CXXFLAGS+="$SLKCFLAGS"
make install 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
mv $PKG/usr/doc/man $PKG/usr
( cd $PKG/usr/man