udhos / update-golang

update-golang is a script to easily fetch and install new Golang releases with minimum system intrusion
MIT License
1.86k stars 227 forks source link

Posix shell compatibility #22

Closed stargater closed 12 months ago

stargater commented 5 years ago

hello, you can switch from bash to sh and adjust your script if necessary. sh is a posix conform, because bash is not the standard shell for all go operating systems.

!/usr/bin/sh

thanks