summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:22 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:22 -0400
commiteab1d64367c2162466f7863c46c9019e2fb8d47f (patch)
tree5f8fc2cb65cd5170080bd268c908c58c2f6aa8c8
parentc76716fbf4366f9e6bcd4918aa5ffa63d56a76ee (diff)
downloadslackbuilds-eab1d64367c2162466f7863c46c9019e2fb8d47f.tar.gz
office/keepassx: Fixed for bash4.
-rw-r--r--office/keepassx/keepassx.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/office/keepassx/keepassx.SlackBuild b/office/keepassx/keepassx.SlackBuild
index c8ef485035..80b5949a6f 100644
--- a/office/keepassx/keepassx.SlackBuild
+++ b/office/keepassx/keepassx.SlackBuild
@@ -66,12 +66,8 @@ qmake \
make
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
# there is no manpage