Skip to content

Unix install script fails on some machines with "curl: (3) bad range specification in URL position" #22

@camerondurham

Description

@camerondurham

Error when running ./unix/seutp.sh:

Looking for docker...
Looking for ch...
Installing ch...
/usr/bin/unzip
curl: (3) bad range specification in URL position 156:
https://github.com/camerondurham/ch/releases/download/ check logic to `ch upgrade` command\r\n\r\n## Commits\r\n- cecd0fb: Implement #24 (Cameron Durham) [#25](https://github.com/camerondurham/ch/pull/25)\r\n- d277f7c: Update changelog with PR info resolving #24 (Cameron Durham) [#25](https://github.com/camerondurham/ch/pull/25)/ch-darwin-amd64.zip

grep had been aliased on student machine: grep: aliased to grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}

Should instead use /usr/bin/grep and /usr/bin/sed to protect against this in install shell scripts.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions