summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:18 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:18 -0400
commit3f318ceba100fa5583522250f73312540257d6b0 (patch)
treeb802198e98629643dbeadd31c15d59554addf532
parentb28e588684f349abed676f43403c5a2baba5c7c7 (diff)
downloadslackbuilds-3f318ceba100fa5583522250f73312540257d6b0.tar.gz
slackbuilds-3f318ceba100fa5583522250f73312540257d6b0.tar.xz
graphics/viewnior: Fixed for bash4.
-rwxr-xr-xgraphics/viewnior/viewnior.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/viewnior/viewnior.SlackBuild b/graphics/viewnior/viewnior.SlackBuild
index 98421e8f8e..aca78f4e7c 100755
--- a/graphics/viewnior/viewnior.SlackBuild
+++ b/graphics/viewnior/viewnior.SlackBuild
@@ -53,8 +53,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep "executable" | 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/doc/$PRGNAM-$VERSION
cp -a \