diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2019-01-17 21:53:53 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2019-01-17 22:59:45 +0100 |
commit | fe7ae562e5d0121d1c5f4d3ba1ec4117c7bbaab8 (patch) | |
tree | 85e89c716b04ebf9732837e78da6f7b32b1f9169 | |
parent | 94e748d0276a089ca9093767d15b5d050e0218b1 (diff) | |
download | busybox-w32-fe7ae562e5d0121d1c5f4d3ba1ec4117c7bbaab8.tar.gz busybox-w32-fe7ae562e5d0121d1c5f4d3ba1ec4117c7bbaab8.tar.bz2 busybox-w32-fe7ae562e5d0121d1c5f4d3ba1ec4117c7bbaab8.zip |
checkstack.pl: fix arch autodetection
chomp trailing newlines
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rwxr-xr-x | scripts/checkstack.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index 55cdd78c1..b5980a2e3 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl | |||
@@ -32,6 +32,7 @@ my (@stack, $re, $x, $xs); | |||
32 | my $arch = shift; | 32 | my $arch = shift; |
33 | if ($arch eq "") { | 33 | if ($arch eq "") { |
34 | $arch = `uname -m`; | 34 | $arch = `uname -m`; |
35 | 1 while chomp $arch; | ||
35 | } | 36 | } |
36 | 37 | ||
37 | $x = "[0-9a-f]"; # hex character | 38 | $x = "[0-9a-f]"; # hex character |