Skip to content

install: add error with -d when an argument is not dir#13175

Merged
cakebaker merged 1 commit into
uutils:mainfrom
LoukasPap:issue13170
Jul 1, 2026
Merged

install: add error with -d when an argument is not dir#13175
cakebaker merged 1 commit into
uutils:mainfrom
LoukasPap:issue13170

Conversation

@LoukasPap

Copy link
Copy Markdown
Contributor

Fixes #13170

To solve it, we check inside were the directories are created if an existing path is a file and if so we show!(...) the new error message. The error is printed for each file passed in arguments and the dir arguments are created normally (as GNU install does).

@LoukasPap

Copy link
Copy Markdown
Contributor Author

I'll check the issues and re-push.

@cakebaker cakebaker merged commit 2bb9bef into uutils:main Jul 1, 2026
159 of 229 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks!

@LoukasPap

Copy link
Copy Markdown
Contributor Author

Your welcome! Hope the failing issues were not caused by the changes but from the CI/CD pipeline (didn't have enough time these days to check them thoroughly).

@cakebaker

cakebaker commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The failing jobs were unrelated to the changes.

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.

bug(install): not error out when a is not a dir in -d

2 participants