Fix most shellcheck warnings in lime.sh.