summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:00 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:00 -0400
commitb3ba0b1f9463f55922bc3b9bdbb76ba160e3a50f (patch)
tree721e1b874c970f28f6517b2cdad910ad0e83ce7e
parent17baf95021a7180f9704186378aad48d8a3c4583 (diff)
downloadslackbuilds-b3ba0b1f9463f55922bc3b9bdbb76ba160e3a50f.tar.gz
development/qt-creator: Fixed for bash4.
-rw-r--r--development/qt-creator/qt-creator.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/qt-creator/qt-creator.SlackBuild b/development/qt-creator/qt-creator.SlackBuild
index 430c0d0760..4900abf3ad 100644
--- a/development/qt-creator/qt-creator.SlackBuild
+++ b/development/qt-creator/qt-creator.SlackBuild
@@ -78,12 +78,8 @@ qmake \
make
make install INSTALL_ROOT=$PKG/usr
-( 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
( cd $PKG/usr/bin; ln -s qtcreator.bin qtcreator )