I have a bash script that does the following:
- Removes a CSS directory
- Copies over new SASS from source
- Runs gulp task to generate CSS again
After I copy the SASS over, I would like to do the following before generating CSS again:
Find any occurrence of ('/assets
and change it to ('/themes/custom/mytheme/assets
in any of the files in the SASS directory.
How can I do that?