summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:22 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:22 -0400
commit5be2e7a30daa523f716e8ecd71adf8a22bd673b4 (patch)
treeccf5ed48569fa49917d38c17ddf758da864b68d7
parent00f6302e82354aa2848fb38b3524a6e6072711d0 (diff)
downloadslackbuilds-5be2e7a30daa523f716e8ecd71adf8a22bd673b4.tar.gz
network/pidgin-otr: Fixed for bash4.
-rw-r--r--network/pidgin-otr/pidgin-otr.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/pidgin-otr/pidgin-otr.SlackBuild b/network/pidgin-otr/pidgin-otr.SlackBuild
index b969b2cbf0..83036c16f4 100644
--- a/network/pidgin-otr/pidgin-otr.SlackBuild
+++ b/network/pidgin-otr/pidgin-otr.SlackBuild
@@ -68,12 +68,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
- 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/po
cp -a \