summaryrefslogtreecommitdiff
path: root/libraries/libvmime/libvmime.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libvmime/libvmime.SlackBuild')
-rw-r--r--libraries/libvmime/libvmime.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libvmime/libvmime.SlackBuild b/libraries/libvmime/libvmime.SlackBuild
index 207a3b4f28..c3269029d2 100644
--- a/libraries/libvmime/libvmime.SlackBuild
+++ b/libraries/libvmime/libvmime.SlackBuild
@@ -59,12 +59,8 @@ make docdir=/usr/doc/$PRGNAM-$VERSION install DESTDIR=$PKG
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( 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/install
cat $CWD/slack-desc > $PKG/install/slack-desc