summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Vartanian <flooey@google.com>2019-04-10 11:06:57 +0100
committerAdam Vartanian <flooey@google.com>2019-04-10 11:12:42 +0100
commitf42e4e5ffda39d4713e50244fe3677d3fcfd17b0 (patch)
treebd5c226553e7fb2061fccb9db4fdbcea285022c4
parent7a9cffc7b6761264791191a51893e850479f2836 (diff)
downloadcurrysrc-f42e4e5ffda39d4713e50244fe3677d3fcfd17b0.tar.gz
Test: manual test with file with comments Change-Id: Ib7000c1969b9a4d9725cdbd3fcca12ae956cde76
-rw-r--r--scripts/repackage-common.sh6
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