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
- What I did Fix for https://github.com/ZupIT/horusec/issues/1158 In some machines, there is an issue with installation scripts. For example on some mac we get error:
and
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