summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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