summaryrefslogtreecommitdiff
path: root/network/elinks/elinks.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:54 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:42:54 -0400
commit842a1ea413d24a4d62a6509532c287b978898b77 (patch)
treeb051fd5cfccc416c174a51ed2d39fa0765540a92 /network/elinks/elinks.SlackBuild
parente90f51e496d6bfff068c7b1c78abbea5df5b5488 (diff)
downloadslackbuilds-842a1ea413d24a4d62a6509532c287b978898b77.tar.gz
network/elinks: Fixed for bash4.
Diffstat (limited to 'network/elinks/elinks.SlackBuild')
-rw-r--r--network/elinks/elinks.SlackBuild8
1 files 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