aboutsummaryrefslogtreecommitdiff
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
parente90f51e496d6bfff068c7b1c78abbea5df5b5488 (diff)
network/elinks: Fixed for bash4.
-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 75b59ba70032e..323c5448f7631 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