aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:28 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:28 -0400
commit97ca071ab9600439c37c5840e4539c56418718ad (patch)
tree23d42ee514cb3031df5a7a27038a30d8dcbbbcf4 /development
parent02c5d56a034e38bb56fe8bc705f76324d873c6e0 (diff)
development/fpc: Fixed for bash4.
Diffstat (limited to 'development')
-rw-r--r--development/fpc/fpc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/fpc/fpc.SlackBuild b/development/fpc/fpc.SlackBuild
index d36bde2afce1..f6bdf874e15e 100644
--- a/development/fpc/fpc.SlackBuild
+++ b/development/fpc/fpc.SlackBuild
@@ -89,12 +89,8 @@ mv $TMP/$PRGNAM-$VERSION/docs/share/doc/fpdocs-$VERSION/*.pdf \
$PKG/usr/doc/$PRGNAM-$VERSION/
# Strip binaries and libraries.
-( 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
# Compress man pages.
( cd $PKG/usr/man