summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:48 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:48 -0400
commit246065b26449b670f2ce21d1b30d249574c4e2f8 (patch)
tree4b2695a939e576d45edb96d232b5afe19d0bad25
parent04d359c8d60c74a5f381a02f3e6ea6936950c70c (diff)
downloadslackbuilds-246065b26449b670f2ce21d1b30d249574c4e2f8.tar.gz
network/isync: Fixed for bash4.
-rw-r--r--network/isync/isync.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/isync/isync.SlackBuild b/network/isync/isync.SlackBuild
index fb86281704..8789cf8e14 100644
--- a/network/isync/isync.SlackBuild
+++ b/network/isync/isync.SlackBuild
@@ -75,12 +75,8 @@ CXXFLAGS="$SLKCFLAGS" \
make PREFIX=/usr docdir=/usr/doc/$PRGNAM-$VERSION
make install docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;