aboutsummaryrefslogtreecommitdiff
path: root/system/halevt
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:09 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:09 -0400
commit22aaa18efb21d86993331a8c4af81a6018477d2d (patch)
tree8a84e1c5f28f25ef5abae0a437c95c636133a814 /system/halevt
parent33f34f965a21dbe3183a58ba14e34fe0964e3791 (diff)
system/halevt: Fixed for bash4.
Diffstat (limited to 'system/halevt')
-rw-r--r--system/halevt/halevt.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/halevt/halevt.SlackBuild b/system/halevt/halevt.SlackBuild
index a2fac0efa917a..612feef66d5c3 100644
--- a/system/halevt/halevt.SlackBuild
+++ b/system/halevt/halevt.SlackBuild
@@ -57,12 +57,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 || 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 {} \;