summaryrefslogtreecommitdiff
path: root/network/kadu
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:53 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:53 -0400
commitb94a8a616a8e96251b259190413b515a032d4b9f (patch)
tree2c512e6f374c5a1f83d364c2c1e6beefeab737b6 /network/kadu
parent069127219f0cc0849d227cdf632d5282f1db4e67 (diff)
downloadslackbuilds-b94a8a616a8e96251b259190413b515a032d4b9f.tar.gz
network/kadu: Fixed for bash4.
Diffstat (limited to 'network/kadu')
-rw-r--r--network/kadu/kadu.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild
index 79371b1da9..c4a76531e1 100644
--- a/network/kadu/kadu.SlackBuild
+++ b/network/kadu/kadu.SlackBuild
@@ -70,12 +70,8 @@ cmake . \
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
cp -a \