Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mktemp: correct error message on absolute path #3521

Merged
merged 1 commit into from
May 21, 2022

Conversation

jfinkels
Copy link
Collaborator

Correct the error message produced by mktemp when --tmpdir is
given and the template is an absolute path:

$ mktemp --tmpdir=a /XXX
mktemp: invalid template, '/XXX'; with --tmpdir, it may not be absolute

@sylvestre sylvestre force-pushed the mktemp-tmpdir-absolute-path branch from bcd5806 to 4685787 Compare May 12, 2022 06:41
@jfinkels
Copy link
Collaborator Author

Looks like I need to correct some issues on Windows.

@jfinkels jfinkels force-pushed the mktemp-tmpdir-absolute-path branch from 4685787 to f5ef5f3 Compare May 15, 2022 15:16
Correct the error message produced by `mktemp` when `--tmpdir` is
given and the template is an absolute path:

    $ mktemp --tmpdir=a /XXX
    mktemp: invalid template, '/XXX'; with --tmpdir, it may not be absolute
@jfinkels jfinkels force-pushed the mktemp-tmpdir-absolute-path branch from f5ef5f3 to 8a941db Compare May 18, 2022 00:16
@sylvestre sylvestre merged commit d921073 into uutils:main May 21, 2022
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.

2 participants