Fix spurious removal of a trailing character from the hostarch string on x86_64
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 13 Dec 2020 20:28:01 +0000 (21:28 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Dec 2020 20:28:01 +0000 (21:28 +0100)
c_check

diff --git a/c_check b/c_check
index 970d475..9c8b1ab 100644 (file)
--- a/c_check
+++ b/c_check
@@ -5,7 +5,7 @@
 
 # Checking cross compile
 $hostos   = `uname -s | sed -e s/\-.*//`;    chop($hostos);
-$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
+$hostarch = `uname -m | sed -e s/i.86/x86/`;
 $hostarch = `uname -p` if ($hostos eq "AIX" || $hostos eq "SunOS");
 chop($hostarch);
 $hostarch = "x86_64" if ($hostarch eq "amd64");