summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:57 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:45:57 -0400
commit680083b6368b8eeb97857a0a16c7d8cf3cc43650 (patch)
tree625a1cad518326a4b2d39977e57cfd153cf42151
parent6b3fd3976c66980c421e162375081cdaf0ca9c3a (diff)
downloadslackbuilds-680083b6368b8eeb97857a0a16c7d8cf3cc43650.tar.gz
network/suphp: Fixed for bash4.
-rw-r--r--network/suphp/suphp.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/suphp/suphp.SlackBuild b/network/suphp/suphp.SlackBuild
index a675d9af10..2852b31ff7 100644
--- a/network/suphp/suphp.SlackBuild
+++ b/network/suphp/suphp.SlackBuild
@@ -76,8 +76,8 @@ make
make install-strip DESTDIR=$PKG
# Strip the DSO as well
-find $PKG -type f | xargs file | grep "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip -v --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/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog doc/* $PKG/usr/doc/$PRGNAM-$VERSION