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

argbash-init - generates template file OK, but shows a chmod error #107

Closed
PushEngineering opened this issue Sep 3, 2019 · 1 comment · Fixed by #108
Closed

argbash-init - generates template file OK, but shows a chmod error #107

PushEngineering opened this issue Sep 3, 2019 · 1 comment · Fixed by #108

Comments

@PushEngineering
Copy link

PushEngineering commented Sep 3, 2019

Running on MacOS Mojave (10.14.6), installed argbash 2.8.1 to $HOME/.local/bin

Running some basic argbash-init tests & get the following sort of error when specifying the output filename...

$ argbash-init --pos tables --opt stack-id --hints dump-db-to-s3.m4
chmod: --: No such file or directory

The template file dump-db-to-s3.m4 is generated OK tho. Not specifying the output file, prints the output to STDOUT & there is no chmod error.

@matejak
Copy link
Owner

matejak commented Sep 3, 2019

It looks like that the MacOS chmod doesn't recognize the -- string as the terminator and thinks that it is a file. Shame on them!
However, it seems to be safe to remove it without any noticeable implications.

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 a pull request may close this issue.

2 participants