shlib icon indicating copy to clipboard operation
shlib copied to clipboard

portable functions for posix shell environments

Results 21 shlib issues
Sort by recently updated
recently updated
newest added

tommaso.ricci@LI-017 MINGW64 ~ $ curl -sfL git.io/antibody | sh -s - -b . getantibody/antibody crit uname_os_check 'MINGW64_NT-10.0-19042' got converted to 'mingw64_nt-10.0-19042' which is not a GOOS value. Please file bug...

This PR add support for Sun Solaris style uname and future changes in GOOS for Illumos. The other shell commands are portable. i86pc can be 32 and 64 bit but...

``` # curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /home/admin/go/bin golangci/golangci-lint crit uname_os_check 'SunOS' got converted to 'sunos' which is not a GOOS value. Please file bug at https://github.com/client9/shlib...

* fix assert.sh/assertTrue * add hash_sha512.sh and hash_sha512_test.sh

I was trying to install 'Bearer' using the command line given in its git repo. i.e. "curl -sfL https://raw.githubusercontent.com/Bearer/bearer/main/contrib/install.sh | sh". I tried it on CMD it did not work...

curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin cosmtrek/air crit uname_os_check 'Windows_NT' got converted to 'windows_nt' which is not a GOOS value. Please file bug at https://github.com/client9/shlib

Similarly to https://github.com/client9/shlib/issues/11, got an issue with armv7l ``` pi@raspberrypi:~/traefik $ uname -a Linux raspberrypi 5.10.63-v7+ #1488 SMP Thu Nov 18 16:14:44 GMT 2021 armv7l GNU/Linux log_crit uname_arch_check 'armv7l' got...

I am trying to run a shell script of [apex](https://github.com/apex/apex/blob/master/install.sh) and it threw an error "uname_os_check: internal error 'MINGW64_NT-10.0-18363' got converted to 'mingw64_nt-10.0-18363' which is not a GOOS value".

Using a godownloader-generated sh script, GitHub would sometimes return a 302 (even though `curl -L -w '%{http_code}'` is provided...). This replaces the *sometimes wrong* HTTP code checking logic with `curl`'s...