summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:46:14 -0400
commit6be70f072b01d2b1757e36623e6625d922e01107 (patch)
tree27e37bfa740c48dc851ea8f15621aded747ebf62 /network
parent175fa816cdea3988c535bc25de553d3d5f40346d (diff)
downloadslackbuilds-6be70f072b01d2b1757e36623e6625d922e01107.tar.gz
network/urlview: Fixed for bash4.
Diffstat (limited to 'network')
-rw-r--r--network/urlview/urlview.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/urlview/urlview.SlackBuild b/network/urlview/urlview.SlackBuild
index e3c54c66f1..205b6e165e 100644
--- a/network/urlview/urlview.SlackBuild
+++ b/network/urlview/urlview.SlackBuild
@@ -70,12 +70,8 @@ CXXFLAGS="$SLKCFLAGS" \
make || exit 1
make install DESTDIR=$PKG || exit 1
-( 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
( cd $PKG/usr/man
find . -name "*.?" -type f 2> /dev/null | xargs gzip -9 2> /dev/null