aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:43 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:43 -0400
commit7d0d39197f48bf86b67576389c88c54134d8fcc8 (patch)
tree0541ef4a2ff635be1d9f130dcd70f481bdf5126b
parent8ee596a70f98beb3b8d02bdce3126e8b29b45711 (diff)
system/vice: Fixed for bash4.
-rw-r--r--system/vice/vice.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild
index 66d51ae8b7ad..f29eece29940 100644
--- a/system/vice/vice.SlackBuild
+++ b/system/vice/vice.SlackBuild
@@ -79,10 +79,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 $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;