aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:41 -0400
commitaaf3b3aa5cbe25bdc526781de7ac3d43b62d8db8 (patch)
treeef74c44c169bf033d612a677a1908242d5617238 /desktop
parent2bf3317023607307bd37d68e16f440e477b77499 (diff)
desktop/QtCurve-KDE4: Fixed for bash4.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild b/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
index 709b8282032b6..cf9c248dcb8ab 100644
--- a/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
+++ b/desktop/QtCurve-KDE4/QtCurve-KDE4.SlackBuild
@@ -77,12 +77,8 @@ cd build
make install DESTDIR=$PKG
cd -
-( 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION