Skip to content

Commit

Permalink
Correct cmake file transformations
Browse files Browse the repository at this point in the history
Broken by the addition of `@ONLY` in the previous commit
(0b90cf1).
  • Loading branch information
pcolby committed Jan 19, 2025
1 parent 0b90cf1 commit 0914b86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/removeHtmlDates.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set -o errexit -o noclobber -o nounset -o pipefail

while IFS= read -d '' -r htmlFile; do
sed -Ei \
-e '/headerItem">Test:</{s/>.*:/>Project:/;n;s/>.*</>${PROJECT_NAME}</}' \
-e '/headerItem">(Test )?Date:</{s/>.*:/>Version:/;n;s/>.*</>${PROJECT_VERSION}${PROJECT_VERSION_SUFFIX}</}' \
-e '/headerItem">Test:</{s/>.*:/>Project:/;n;s/>.*</>@PROJECT_NAME@</}' \
-e '/headerItem">(Test )?Date:</{s/>.*:/>Version:/;n;s/>.*</>@PROJECT_VERSION@@PROJECT_VERSION_SUFFIX@</}' \
"$htmlFile" < /dev/null
done < <(find "${1:-@PROJECT_BINARY_DIR@/coverage/}" -name '*.html' -print0)

0 comments on commit 0914b86

Please sign in to comment.