summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:16 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:16 -0400
commit5f9ef09f8946ecdb81de0a516e7a093cbb545acf (patch)
tree0fabd545a3796bff4c78cbcb8f550fb8971ad4da
parent6be70f072b01d2b1757e36623e6625d922e01107 (diff)
downloadslackbuilds-5f9ef09f8946ecdb81de0a516e7a093cbb545acf.tar.gz
network/verlihub: Fixed for bash4.
-rwxr-xr-xnetwork/verlihub/verlihub.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/verlihub/verlihub.SlackBuild b/network/verlihub/verlihub.SlackBuild
index 98ac5bf748..5627230f6d 100755
--- a/network/verlihub/verlihub.SlackBuild
+++ b/network/verlihub/verlihub.SlackBuild
@@ -77,12 +77,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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \