summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:01 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:01 -0400
commit40c7cf15b52ab0220cec4d1fed85648e98084bfa (patch)
treea60b5520023abba5e4424dd806c4b2588d99674a
parentb3ba0b1f9463f55922bc3b9bdbb76ba160e3a50f (diff)
downloadslackbuilds-40c7cf15b52ab0220cec4d1fed85648e98084bfa.tar.gz
development/qt4pas: Fixed for bash4.
-rw-r--r--development/qt4pas/qt4pas.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/qt4pas/qt4pas.SlackBuild b/development/qt4pas/qt4pas.SlackBuild
index 5002a85628..2e061b19b7 100644
--- a/development/qt4pas/qt4pas.SlackBuild
+++ b/development/qt4pas/qt4pas.SlackBuild
@@ -68,12 +68,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 || true
-)
+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 \