File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ function replaceCodes(array $list): Generator
119
119
120
120
if (false === $ previewMode && true === $ updateFilesAndDirs ) {
121
121
exec ('find ' .$ coursePath .$ currentDirectory .'/document/ -type f -name "*.html" -exec sed -i ' ."'s#/courses/ $ currentDirectory/#/courses/ $ newDirectory/#g' {} + " );
122
- exec ('find ' .$ coursePath .$ currentDirectory .'/document/ -type f -name "*.html" -exec sed -i ' ."'s#cidReq= $ currentCode&#cidReq= $ newCode&#g' {} + " );
122
+ exec ('find ' .$ coursePath .$ currentDirectory .'/document/ -type f -name "*.html" -exec sed -i ' ."'s#cidReq= $ currentCode\ &#cidReq=$ newCode\ &#g' {} + " );
123
123
} else {
124
124
yield " File changes ignored (variable updateFilesAndDirs set to false) " ;
125
125
}
You can’t perform that action at this time.
0 commit comments