summaryrefslogtreecommitdiffstats
path: root/desktop/QtCurve-Gtk2
diff options
context:
space:
mode:
author David Somero2010-05-19 08:31:40 +0200
committer David Somero2010-05-19 08:31:40 +0200
commit2bf3317023607307bd37d68e16f440e477b77499 (patch)
tree5356e841d282780ffe226738a614a3c39327d540 /desktop/QtCurve-Gtk2
parent630654fea885ef49a0505b8b0083945c79055099 (diff)
downloadslackbuilds-2bf3317023607307bd37d68e16f440e477b77499.tar.gz
desktop/QtCurve-Gtk2: Fixed for bash4.
Diffstat (limited to 'desktop/QtCurve-Gtk2')
-rw-r--r--desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
index eae3cc3573..0248264499 100644
--- a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
+++ b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.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 AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION