aboutsummaryrefslogtreecommitdiff
path: root/development/bvi
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:21 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:21 -0400
commitc5a0f73626287b792c86229ad4bcf85dbfade755 (patch)
tree75c8c1ce74225b8e6dfa81e94f8bb32e9cd997ab /development/bvi
parent704684402e16b01a9ceaddb24e3bbba9125ca35c (diff)
development/bvi: Fixed for bash4.
Diffstat (limited to 'development/bvi')
-rw-r--r--development/bvi/bvi.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/bvi/bvi.SlackBuild b/development/bvi/bvi.SlackBuild
index 1aa04afc7260..6b2f33e77d27 100644
--- a/development/bvi/bvi.SlackBuild
+++ b/development/bvi/bvi.SlackBuild
@@ -70,12 +70,8 @@ CXXFLAGS="$SLKCFLAGS" \
make || exit 1
make install DESTDIR=$PKG || exit 1
-( 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 || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;