aboutsummaryrefslogtreecommitdiff
path: root/development/qt-creator
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 /development/qt-creator
parent17baf95021a7180f9704186378aad48d8a3c4583 (diff)
development/qt-creator: Fixed for bash4.
Diffstat (limited to 'development/qt-creator')
-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 430c0d0760255..4900abf3ada13 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 )