summaryrefslogtreecommitdiff
path: root/libraries/libvmime
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
parent02bbc8d8ed49b0f3ba6209e990fd8a1bd3868724 (diff)
downloadslackbuilds-49ee3b605180a9c713e3650ba9f4704dae8256f0.tar.gz
libraries/libvmime: Fixed for bash4.
Diffstat (limited to 'libraries/libvmime')
-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