aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:18 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:18 -0400
commit3f318ceba100fa5583522250f73312540257d6b0 (patch)
treeb802198e98629643dbeadd31c15d59554addf532
parentb28e588684f349abed676f43403c5a2baba5c7c7 (diff)
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 98421e8f8e548..aca78f4e7c848 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 \