Debian Codegraph @

addons/convert_colorsets

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 echoscip-shell system . . echo. ""
4 echoscip-shell system . . echo. "To convert existing colorsets, run the following commands into their base folder:"
5 echoscip-shell system . . echo. ""
6 echoscip-shell system . . echo. find -type f -exec sed -i -e \'s:\$\\[cs_:\$\\[infostore\\.cs_:g\' {} \\\;
7 echoscip-shell system . . echo. find -type f -exec sed -i -e \'s:SetEnv:InfoStoreAdd:g\' {} \\\;
8 echoscip-shell system . . echo. ""
9 echoscip-shell system . . echo. "You can use the first command on directories containing recipes or functions using the old cs_ prefix variables."
10 echoscip-shell system . . 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 echoscip-shell system . . echo. ""