aboutsummaryrefslogtreecommitdiff
path: root/libraries/librra/librra.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:01 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:01 -0400
commitdb2ab3abcc11b20112a291bd3d3cd61b7386dffe (patch)
treeb28d3107e0e76a7de32edafeb44f666d879a06c7 /libraries/librra/librra.SlackBuild
parent004546c78f325a659759a0230463c0599aaa6e22 (diff)
libraries/librra: Fixed for bash4.
Diffstat (limited to 'libraries/librra/librra.SlackBuild')
-rw-r--r--libraries/librra/librra.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/librra/librra.SlackBuild b/libraries/librra/librra.SlackBuild
index 8a0c4a959423..a53a17457c78 100644
--- a/libraries/librra/librra.SlackBuild
+++ b/libraries/librra/librra.SlackBuild
@@ -54,12 +54,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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;