aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:04 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:04 -0400
commit36d9c28cb07f493fd87a612dc12ea9d65e15440f (patch)
tree9d8dd832b5e421985c3fc77f3fb87f975a6edb87
parent59bde6f2f7f93aa0e7d15e3bc69afcb2ff96a93c (diff)
network/fdm: Fixed for bash4.
-rw-r--r--network/fdm/fdm.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/fdm/fdm.SlackBuild b/network/fdm/fdm.SlackBuild
index 9db60bf5e066..d65f9027133d 100644
--- a/network/fdm/fdm.SlackBuild
+++ b/network/fdm/fdm.SlackBuild
@@ -52,12 +52,8 @@ make install \
PREFIX=/usr \
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 {} \;