summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:55 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:55 -0400
commit191c253a17e14852772b0c2a97a7a0642f958025 (patch)
treeedf930777738ce67eb634d3fec3af3b409992e4e
parentf17ea0f9bfc58112eaffdca46953e6b1961158a2 (diff)
downloadslackbuilds-191c253a17e14852772b0c2a97a7a0642f958025.tar.gz
libraries/libopensync: Fixed for bash4.
-rw-r--r--libraries/libopensync/libopensync.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libopensync/libopensync.SlackBuild b/libraries/libopensync/libopensync.SlackBuild
index ea8e5c9080..8bab68b6e7 100644
--- a/libraries/libopensync/libopensync.SlackBuild
+++ b/libraries/libopensync/libopensync.SlackBuild
@@ -83,12 +83,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \