client9 / shlib

portable functions for posix shell environments
The Unlicense
360 stars 36 forks source link

RPi 3 Raspbian / ARM uname_arch_check failing #11

Closed wjdp closed 6 years ago

wjdp commented 6 years ago

Moved from https://github.com/goreleaser/godownloader/issues/59

pi@ha:~ $ uname -a
Linux ha 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
pi@ha:~ $ curl https://htmltest.wjdp.uk | bash -s -- v0.9.1-rc1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9929  100  9929    0     0  43803      0 --:--:-- --:--:-- --:--:-- 43740
wjdp/htmltest crit uname_arch_check 'armv7l' got converted to 'arm7' which is not a GOARCH value.  Please file bug report at https://github.com/client9/shlib

Looking at my generated script armv7 is in the list of supported GOARCH values, but arm7 is not.

client9 commented 6 years ago

weird sorry I missed this. We'll fix it up tomorrow!

client9 commented 6 years ago

for reference: https://github.com/golang/go/wiki/GoArm

client9 commented 6 years ago

fixed!