diff options
author | Adam Vartanian <flooey@google.com> | 2019-04-10 05:06:09 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-04-10 05:06:09 -0700 |
commit | ecf491e593609b87fb512affd4934e4141fd7e78 (patch) | |
tree | bd5c226553e7fb2061fccb9db4fdbcea285022c4 | |
parent | bbbf558eefb465a78932d88ce9d5001189608253 (diff) | |
parent | f42e4e5ffda39d4713e50244fe3677d3fcfd17b0 (diff) | |
download | currysrc-ecf491e593609b87fb512affd4934e4141fd7e78.tar.gz |
Ignore comments in changelog check
am: f42e4e5ffd
Change-Id: I0ba3ed38a7eae514fd7d99550a3890815c0d1709
-rw-r--r-- | scripts/repackage-common.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/repackage-common.sh b/scripts/repackage-common.sh index 5142959..9753f24 100644 --- a/scripts/repackage-common.sh +++ b/scripts/repackage-common.sh @@ -204,19 +204,19 @@ function checkChangeLog { if [[ -f "${DEFAULT_CONSTRUCTORS_FILE}" ]]; then # Check to ensure that all the requested default constructors were added. - checkChangeLog <(sort -u "${DEFAULT_CONSTRUCTORS_FILE}") "AddDefaultConstructor" \ + checkChangeLog <(sort -u "${DEFAULT_CONSTRUCTORS_FILE}" | grep -v '^#') "AddDefaultConstructor" \ "Default constructors were not added at the following locations from ${DEFAULT_CONSTRUCTORS_FILE}:" fi if [[ -f "${CORE_PLATFORM_API_FILE}" ]]; then # Check to ensure that all the requested annotations were added. - checkChangeLog <(sort -u "${CORE_PLATFORM_API_FILE}") "@libcore.api.CorePlatformApi" \ + checkChangeLog <(sort -u "${CORE_PLATFORM_API_FILE}" | grep -v '^#') "@libcore.api.CorePlatformApi" \ "CorePlatformApi annotations were not added at the following locations from ${CORE_PLATFORM_API_FILE}:" fi if [[ -f "${INTRA_CORE_API_FILE}" ]]; then # Check to ensure that all the requested annotations were added. - checkChangeLog <(sort -u "${INTRA_CORE_API_FILE}") "@libcore.api.IntraCoreApi" \ + checkChangeLog <(sort -u "${INTRA_CORE_API_FILE}" | grep -v '^#') "@libcore.api.IntraCoreApi" \ "IntraCoreApi annotations were not added at the following locations from ${INTRA_CORE_API_FILE}:" fi |