This repository was archived by the owner on Jun 3, 2024. It is now read-only.
Commit 2d31db9 1 parent da34ba1 commit 2d31db9 Copy full SHA for 2d31db9
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -135,14 +135,16 @@ commands:
135
135
find dkan -type d -name .git -exec rm -rf {} \;
136
136
find docroot/sites/all -type f -name .gitignore -exec rm -rf {} \;
137
137
find docroot/sites/all -type d -name .git -exec rm -rf {} \;
138
- # Clean out any CHANGELOG.txt files.
139
- find . -type f -name CHANGELOG.txt -exec rm -rf {} \;
140
138
# Setup custom modules folder outside of the drupal root.
141
139
rm -rf docroot/sites/all/modules/custom
142
140
rm -rf docroot/sites/all/modules/data_config
143
141
ln -s ../../../../assets/modules/data_config docroot/sites/all/modules/data_config
144
142
ln -s ../../../../config/modules/custom docroot/sites/all/modules/custom
145
143
ln -s ../../../../config/themes/custom docroot/sites/all/themes/custom
144
+ # Remove README/INSTALL files for security reasons CIVIC-3122
145
+ find ./docroot -type f -name "README*" -exec rm -f {} \;
146
+ find ./docroot -type f -name "INSTALL*" -exec rm -f {} \;
147
+ find ./docroot -type f -name "CHANGELOG*" -exec rm -rf {} \;
146
148
if [ "$(ahoy custom | grep post-build)" != '' ]
147
149
then
148
150
ahoy custom post-build
You can’t perform that action at this time.
0 commit comments