| 1 | #!/bin/sh |
| 2 | |
| 3 | echo "" |
| 4 | echo "To convert existing colorsets, run the following commands into their base folder:" |
| 5 | echo "" |
| 6 | echo find -type f -exec sed -i -e \'s:\$\\[cs_:\$\\[infostore\\.cs_:g\' {} \\\; |
| 7 | echo find -type f -exec sed -i -e \'s:SetEnv:InfoStoreAdd:g\' {} \\\; |
| 8 | echo "" |
| 9 | echo "You can use the first command on directories containing recipes or functions using the old cs_ prefix variables." |
| 10 | echo The second command will convert all the \'SetEnv\' to \'InfoStoreAdd\'. In consequence, be sure the folder and its subfolder where you run that command only contain colorset related \'SetEnv\'. |
| 11 | echo "" |