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

use short arguments in install script #1158 #1159

Closed

Conversation

smoogie
Copy link
Contributor

@smoogie smoogie commented Sep 12, 2023

- What I did
Fix for #1158
In some machines, there is an issue with installation scripts.
For example on some mac we get error:

cut: illegal option -- -
...

and

tail: illegal option -- -
...

This comes from: cut --delimiter='/' --fields=3 | tail --lines=1

This is due to the versions of cut and tail installed on different systems. For example https://ss64.com/osx/cut.html

To solve the issue, we should replace the long name of parameters with shorthands like -d instead of --delimeter, -f instead of --fields, -n instead of --lines

- How to verify it
You can test it by running install.sh script

- Description for the changelog
support different releases of cut and tail in install.sh

@smoogie smoogie requested a review from a team September 12, 2023 08:58
@smoogie smoogie closed this by deleting the head repository Oct 8, 2024
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