summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2019-01-17 21:53:53 +0100
committerBernhard Reutner-Fischer2019-01-17 22:59:45 +0100
commitfe7ae562e5d0121d1c5f4d3ba1ec4117c7bbaab8 (patch)
tree85e89c716b04ebf9732837e78da6f7b32b1f9169 /scripts
parent94e748d0276a089ca9093767d15b5d050e0218b1 (diff)
downloadbusybox-fe7ae562e5d0121d1c5f4d3ba1ec4117c7bbaab8.zip
busybox-fe7ae562e5d0121d1c5f4d3ba1ec4117c7bbaab8.tar.gz
checkstack.pl: fix arch autodetection
chomp trailing newlines Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkstack.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
index 55cdd78..b5980a2 100755
--- a/scripts/checkstack.pl
+++ b/scripts/checkstack.pl
@@ -32,6 +32,7 @@ my (@stack, $re, $x, $xs);
my $arch = shift;
if ($arch eq "") {
$arch = `uname -m`;
+ 1 while chomp $arch;
}
$x = "[0-9a-f]"; # hex character