summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:41 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:41 -0400
commit83866a3496e4cfd0f1ae26d0aee47f857d837a98 (patch)
tree38566b8ad26fe18d1894725ff67891f796edde3b /network
parent6021f1bdfc7f33e49cba9612fbc0d5eaa50519d7 (diff)
downloadslackbuilds-83866a3496e4cfd0f1ae26d0aee47f857d837a98.tar.gz
network/dahdi-tools: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/dahdi-tools/dahdi-tools.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/dahdi-tools/dahdi-tools.SlackBuild b/network/dahdi-tools/dahdi-tools.SlackBuild
index 871f48437e..89e142af38 100644
--- a/network/dahdi-tools/dahdi-tools.SlackBuild
+++ b/network/dahdi-tools/dahdi-tools.SlackBuild
@@ -66,12 +66,8 @@ make
make install DESTDIR=$PKG
make config DESTDIR=$PKG || true
-( 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
# Fix up the manpages
gzip -9 $PKG/usr/man/man?/*.?