From 842a1ea413d24a4d62a6509532c287b978898b77 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:42:54 -0400 Subject: network/elinks: Fixed for bash4. --- network/elinks/elinks.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild index 75b59ba700..323c5448f7 100644 --- a/network/elinks/elinks.SlackBuild +++ b/network/elinks/elinks.SlackBuild @@ -71,12 +71,8 @@ rm -f $PKG/usr/share/locale/locale.alias mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - 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 # Move man pages to their proper location. mv $PKG/usr/share/man $PKG/usr -- cgit v1.2.3