Closed mahela-aws closed 9 months ago
@mahela-aws I had the same issues on mac. As a workaround I added a line at the top to use gsed: alias sed='gsed'
I also had to alias head
as negative numbers aren't supported on mac.
Add to top of file:
alias sed='gsed'
alias head='ghead'
Install:
brew install coreutils
brew install gsed
Not sure where it's documented. But running this script from an Alpine container should do the job.
@mahela-aws I had the same issues on mac. As a workaround I added a line at the top to use gsed:
alias sed='gsed'
I also had to aliashead
as negative numbers aren't supported on mac.Add to top of file:
alias sed='gsed' alias head='ghead'
Install:
brew install coreutils
brew install gsed
@OpenGLShaders awesome will try this out. thanks a lot
@mahela-aws Did everything work? I will add a comment to the next migration script to use an Alpine image in case something is not working as expected.
@kayman-mk I did it manually anyway, didn't worry too much about the migration script. I thought it would be better this way since we get to see the changes more
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.
This issue was closed because it has been stalled for 15 days with no activity.
Describe the bug
We are trying to migrate the module from 6.5.1 to 7.1.1 but when we try to use the migration script provided it fails to produce the new file
To Reproduce
module calling file looks like below
we are getting below error when trying to execute the script
Expected behavior
We should be able to execute the script without getting any errors
Additional context
we have tried different shells like zsh and bash, but it's throwing the same error