Skip to content

Change install command to include -t option#1

Draft
mdierolf wants to merge 1 commit intomainfrom
install-command-directory
Draft

Change install command to include -t option#1
mdierolf wants to merge 1 commit intomainfrom
install-command-directory

Conversation

@mdierolf
Copy link
Owner

The install command should treat the destination as a directory, not a file or directory. Added the -t option to the install command to implement this behavior

This should fix this error:

# rm /usr/local/bin 

# ls -la /usr/local/bin
ls: cannot access '/usr/local/bin': No such file or directory

# curl -fLSs https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/main/install.sh | bash
Starting installation.
Installing CircleCI CLI v0.1.33494
Installing to /usr/local/bin
An error occured installing the tool.
The contents of the directory /tmp/tmp.fBvjlvSUXG have been left in place to help to debug the issue.

# ls -la /usr/local/bin 
-rwxr-xr-x 1 root root 30974136 Nov 13 10:20 /usr/local/bin

The install command should treat the destination as a directory, not a file or directory. Added the -t option to the install command to implement this behavior
@mdierolf mdierolf marked this pull request as draft November 13, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant