mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-15 15:21:08 +03:00
prepare_release.sh: modify submodule files recursively
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
# ignoring the automatically-generated files.
|
# ignoring the automatically-generated files.
|
||||||
# - Sets the CMake option `GEN_FILES` to OFF to explicitely disable
|
# - Sets the CMake option `GEN_FILES` to OFF to explicitely disable
|
||||||
# recreating the automatically-generated files.
|
# recreating the automatically-generated files.
|
||||||
|
#. - The script will recursively update the tf-psa-crypto files too.
|
||||||
|
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
@@ -25,7 +27,7 @@ psed() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#### .gitignore processing ####
|
#### .gitignore processing ####
|
||||||
for GITIGNORE in $(git ls-files -- '*.gitignore'); do
|
for GITIGNORE in $(git ls-files --recurse-submodules -- '*.gitignore'); do
|
||||||
psed '/###START_GENERATED_FILES###/,/###END_GENERATED_FILES###/s/^/#/' "$GITIGNORE"
|
psed '/###START_GENERATED_FILES###/,/###END_GENERATED_FILES###/s/^/#/' "$GITIGNORE"
|
||||||
psed 's/###START_GENERATED_FILES###/###START_COMMENTED_GENERATED_FILES###/' "$GITIGNORE"
|
psed 's/###START_GENERATED_FILES###/###START_COMMENTED_GENERATED_FILES###/' "$GITIGNORE"
|
||||||
psed 's/###END_GENERATED_FILES###/###END_COMMENTED_GENERATED_FILES###/' "$GITIGNORE"
|
psed 's/###END_GENERATED_FILES###/###END_COMMENTED_GENERATED_FILES###/' "$GITIGNORE"
|
||||||
|
|||||||
Reference in New Issue
Block a user