summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:16 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:16 -0400
commitc80e43112782112d826a6b259293ccebdbca3700 (patch)
tree0632f0120818e166893bff8e95e33570035d97a0 /libraries
parent49ee3b605180a9c713e3650ba9f4704dae8256f0 (diff)
downloadslackbuilds-c80e43112782112d826a6b259293ccebdbca3700.tar.gz
libraries/libwhisker2: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libwhisker2/libwhisker2.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libwhisker2/libwhisker2.SlackBuild b/libraries/libwhisker2/libwhisker2.SlackBuild
index c4aefaa598..1b9947d5f0 100644
--- a/libraries/libwhisker2/libwhisker2.SlackBuild
+++ b/libraries/libwhisker2/libwhisker2.SlackBuild
@@ -71,12 +71,8 @@ make DESTDIR=$PKG \
MAN3PATH=/usr/man/man3 \
install
-( 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 {} \;