I tried to update to the latest caddy via getcaddy.com, but I got a bash error. bash: line 90: ${uname^^}: bad substitution
I’m on macOS 10.12.2
Here’s the full log: Parhelia:~ sakamies$ curl https://getcaddy.com | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4806 100 4806 0 0 4487 0 0:00:01 0:00:01 --:--:-- 4495 bash: line 90: ${uname^^}: bad substitution Aborting, error 0 in command: [[ ${uname^^} == *DARWIN* ]]
This is because bash lower than version 4 (released in 2009) is used. Sorry, I never suspected Caddy would be installed on such systems. I submit a fix immediately.