aboutsummaryrefslogtreecommitdiff
path: root/libraries/libvmime/libvmime.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:15 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:15 -0400
commit49ee3b605180a9c713e3650ba9f4704dae8256f0 (patch)
treef2aa289760527212ff417d11d7a20a1dc29250b8 /libraries/libvmime/libvmime.SlackBuild
parent02bbc8d8ed49b0f3ba6209e990fd8a1bd3868724 (diff)
libraries/libvmime: Fixed for bash4.
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 207a3b4f289a..c3269029d2c9 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