summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:19 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:19 -0400
commitb00a92076f94c254076036c585f2e8494c7b1f76 (patch)
tree203d2271ba6dd6f5b21fc85f1cd4d215d0a0fafd
parent2a1ef9b7fcab724632c086e02ee7c2115fde170b (diff)
downloadslackbuilds-b00a92076f94c254076036c585f2e8494c7b1f76.tar.gz
libraries/libxml++: Fixed for bash4.
-rw-r--r--libraries/libxml++/libxml++.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libxml++/libxml++.SlackBuild b/libraries/libxml++/libxml++.SlackBuild
index 701eb5ddba..bb0cef9fec 100644
--- a/libraries/libxml++/libxml++.SlackBuild
+++ b/libraries/libxml++/libxml++.SlackBuild
@@ -55,12 +55,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 AUTHORS COPYING ChangeLog INSTALL NEWS README \