summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:17 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:17 -0400
commit76b9ab33df298da1526d48c7eab275858e59423d (patch)
treed8ec12abd1949dc2df18c91d171d80b99a46a9b1
parent2bb387f30ca47685d836de7329db7f012421804c (diff)
downloadslackbuilds-76b9ab33df298da1526d48c7eab275858e59423d.tar.gz
libraries/libdvdplay: Fixed for bash4.
-rw-r--r--libraries/libdvdplay/libdvdplay.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libdvdplay/libdvdplay.SlackBuild b/libraries/libdvdplay/libdvdplay.SlackBuild
index 7b053ac1f7..26cee463f1 100644
--- a/libraries/libdvdplay/libdvdplay.SlackBuild
+++ b/libraries/libdvdplay/libdvdplay.SlackBuild
@@ -69,12 +69,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
- 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/doc/$PRGNAM-$VERSION
cp -a \