summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-12-27 11:51:32 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:04 +0700
commita31d938d0ef11939c5f88d35328353124d0b05cc (patch)
treea81c5794faabb4b4fc7b994c876b37c46cfe60ad /system
parentf5370b279872e3527f392a97f8a033f124f2c0bb (diff)
downloadslackbuilds-a31d938d0ef11939c5f88d35328353124d0b05cc.tar.gz
system/netatop: Fix for exported ARCH variable.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/netatop/netatop.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netatop/netatop.SlackBuild b/system/netatop/netatop.SlackBuild
index 4553bd29a2..1da0ddf46d 100644
--- a/system/netatop/netatop.SlackBuild
+++ b/system/netatop/netatop.SlackBuild
@@ -72,7 +72,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make
+env -u ARCH make
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true