[php] Also patch stuff in subfolers inside scripts/ (some apps have an experimental_helpers/ folder)

This commit is contained in:
Alexandre Aubin 2020-03-21 18:41:06 +01:00 committed by Alexandre Aubin
parent 9dbf626b36
commit b747c17369

View file

@ -2889,6 +2889,7 @@ def _patch_legacy_php_versions(app_folder):
files_to_patch = []
files_to_patch.extend(glob.glob("%s/conf/*" % app_folder))
files_to_patch.extend(glob.glob("%s/scripts/*" % app_folder))
files_to_patch.extend(glob.glob("%s/scripts/*/*" % app_folder))
files_to_patch.extend(glob.glob("%s/scripts/.*" % app_folder))
files_to_patch.append("%s/manifest.json" % app_folder)
files_to_patch.append("%s/manifest.toml" % app_folder)