summaryrefslogtreecommitdiff
path: root/network/d4x
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:37 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:37 -0400
commitf439ee10f6f00c531e5acb7881e683d27b406992 (patch)
tree6a429c857901524b2546d720fd6e536e9dd69c38 /network/d4x
parent14b54517aaf28dae1e1a85eba3899ee036706d28 (diff)
downloadslackbuilds-f439ee10f6f00c531e5acb7881e683d27b406992.tar.gz
network/d4x: Fixed for bash4.
Diffstat (limited to 'network/d4x')
-rw-r--r--network/d4x/d4x.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/d4x/d4x.SlackBuild b/network/d4x/d4x.SlackBuild
index 0b120b308e..0d181b5d9c 100644
--- a/network/d4x/d4x.SlackBuild
+++ b/network/d4x/d4x.SlackBuild
@@ -68,12 +68,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
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man1
gzip -9c DOC/nt.1 > $PKG/usr/man/man1/$PRGNAM.1.gz