summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:12 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:12 -0400
commit2e47624882b6c574c1d2cafb0e20b5276ac02710 (patch)
tree269a2a5ed2b1494cd89cbe27d52438cd955cf80b
parent266fde11329249f7bee27a1b2f656fe4506d9b6e (diff)
downloadslackbuilds-2e47624882b6c574c1d2cafb0e20b5276ac02710.tar.gz
network/bip: Fixed for bash4.
-rw-r--r--network/bip/bip.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/bip/bip.SlackBuild b/network/bip/bip.SlackBuild
index d4cadc2f3a..2ce23948a7 100644
--- a/network/bip/bip.SlackBuild
+++ b/network/bip/bip.SlackBuild
@@ -75,12 +75,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/man/man1
cp -a *.1 $PKG/usr/man/man1