circleci-cli
circleci-cli copied to clipboard
Install script installs an executable named "bin" when /usr/local/bin directory does not exist
After running this line in the install instructions:
curl -fLSs https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh | bash
The result is an executable file called bin in the directory /usr/local.
I suggest adding a line similar to mkdir -p "$DESTDIR"
hi @christian-oudard thanks for reporting this, it's possible to install to alternate location by defining the DESTDIR environment variable when invoking bash:
curl -fLSs https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/main/install.sh | DESTDIR=/opt/bin bash