summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author David Somero2010-05-19 08:46:39 +0200
committer David Somero2010-05-19 08:46:39 +0200
commit53da41574dcb65c19273e829a55a7435957b6435 (patch)
tree68456cdacdfb816ff52747a523b15c922c4039d7 /network
parent40e09e00ff21f3a38415224c99afd1abd6fcbf30 (diff)
downloadslackbuilds-53da41574dcb65c19273e829a55a7435957b6435.tar.gz
network/xsp: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/xsp/xsp.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/xsp/xsp.SlackBuild b/network/xsp/xsp.SlackBuild
index 18cdf00248..e3fd7de2d9 100644
--- a/network/xsp/xsp.SlackBuild
+++ b/network/xsp/xsp.SlackBuild
@@ -54,12 +54,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
gzip -9 $PKG/usr/man/man?/*.?